Commit Graph
95114 Commits
Author SHA1 Message Date
Bhavik Bagdiya 4716664d9e [FIX] hr_expense: wrong domain 2015-05-19 13:50:31 +02:00
Raphael Collet 49c614e9e1 [FIX] fields: an inherited required field is expected to be required 2015-05-19 13:40:30 +02:00
qdp-odoo 51f185b77b [ADD] account_batch_deposit 2015-05-19 13:37:59 +02:00
Raphael Collet 0b35f267d2 Merge pull request #218 from odoo-dev/master-ormcache_new_api-rco
[MERGE] ormcache: improve API to enable the decoration of new-api methods

The new signature of `ormcache()` is more intuitive: simply list the names of the method arguments that compose the cache key. The decorators `ormcache_context()` and `ormcache_multi()` have been adapted accordingly.
2015-05-19 11:40:46 +02:00
Raphael Collet 8db2833a1e [IMP] ir_ui_menu: make it use ormcache instead of a home-brewed cache 2015-05-19 10:07:02 +02:00
Raphael Collet 4b7dd0f759 [IMP] decimal_precision, ir_rule, ir_ui_view: simplify ormcache invalidation
The patch speeds up the cache invalidation in the registry, and make most
models use the generic method `clear_caches` instead of specific `clear_cache`
methods.
2015-05-19 09:59:42 +02:00
Raphael Collet a286b9380c [ADD] ormcache: add a unit test 2015-05-19 09:59:42 +02:00
Raphael Collet ede4304790 [IMP] adapt all calls to ormcache() to its new API
This fixes a bug on some methods.  Because `ormcache` uses the decorator
`decorator`, the `context` argument is passed positionally to the decorated
lookup method, instead of being passed as a keyword argument.  As a
consequence, the context dictionary is included in the cache key, which makes
the cache lookup fail all the time.

Using the new API of `ormcache` gracefully fixes this issue.
2015-05-19 09:59:42 +02:00
Raphael Collet 8d4fb747d4 [FIX] ormcache_multi: adapt its API and implementation to ormcache 2015-05-19 09:59:42 +02:00
Raphael Collet 1431d9d29d [FIX] ormcache_context: adapt it to the new API and implementation of ormcache 2015-05-19 09:59:42 +02:00
Raphael Collet 0ae59c779f [IMP] ormcache: improve API to enable the decoration of new-api methods
The new signature of ormcache() is way more intuitive: simply list the names of
the method arguments that compose the cache key (see documentation and existing
code).  A backward-compatible mode is available by using the keyword argument
`skiparg`.
2015-05-19 09:59:42 +02:00
Josse Colpaert baca220bb7 [FIX] invoice onchange: onchange_invoice_line_ids continued 2015-05-18 17:41:58 +02:00
Christophe Simonis 5aee318f16 [FIX] account: use new api in demo yml 2015-05-18 17:07:09 +02:00
Jamin Shah 0e5b25b48f [IMP] project, web_planner, crm : add planner for project module
- clean the planner style
- add specific class per planner crm (avoiding collisions)
- create .o_planner_white_box class used in all planners
- add planner for project module
2015-05-18 16:43:24 +02:00
Josse Colpaert d062b8ba43 [FIX] invoice onchange: no api.multi decorator on invoice_line_ids_onchange 2015-05-18 15:53:11 +02:00
Gaurav Panchal f0d4761159 [IMP] stock_account: counter/filter of invoiced pickings search now for pickings that are invoiced AND transferred 2015-05-18 15:07:52 +02:00
Hitesh Trivedi e9b502aec7 [IMP] sale_layout : Make report category translatable 2015-05-18 14:36:49 +02:00
Yannick Tivisse 42c17129c3 [IMP] sale,sale_stock : Uniformize the naming in the reports with model sale.order 2015-05-18 14:33:34 +02:00
Yannick Tivisse 44658a49c6 [IMP] stock: rename Available quantity into Forecasted quantity; hide reordering rules if product type is consumable 2015-05-18 14:29:34 +02:00
Yannick Tivisse 8eba80a1c2 [IMP] hr_recruitment : change availability into date field 2015-05-18 14:24:13 +02:00
Yannick Tivisse 4380b90965 [FIX] point_of_sale: typo 2015-05-18 14:23:40 +02:00
Cedric Snauwaert 5a8a0d252c [FIX] pos: tax computation in point of sale was done wrong
Change method to match the tax computation performed server side

this closes #259, closes #245
2015-05-18 13:50:36 +02:00
Thibault Delavallée 2f49dd7840 [FIX] mail: who committed commented tests ? Me ? Mmmh ... Sorry. 2015-05-18 12:06:13 +02:00
pvy c1cd63fc4e [IMP] account_reports: move footnotes and line folding methods to the common context object, moved the totals to the bottom linesm and some small fixes 2015-05-15 17:33:44 +02:00
Aaron Bohy a8a9fe821a [FIX] Web: ControlPanel: hide ControlPanel on breadcrumb click
if the inner widget doesn't use it.
2015-05-15 16:08:18 +02:00
Darshan Kalola 50a043d979 [IMP] website, website_sale, crm, web_planner : add planner for website modules
This commit impact crm, website, website_sale and web_planner modules because it
- add planner for website and website_sale
- improve planner notebook by setting texterea and input size to 100% and using col-md-* class
- split js code into common part (used in backend and frontend) and backend part (only for backend)
- adapt some tour, since every page will have the planner modal in its DOM, the tour selectors msut be more accurate
- introduce some style fixes and adaptations
- ...
2015-05-15 10:59:42 +02:00
Aaron Bohy 49fe33a3ba [FIX] Web: ActionManager: on_reverse_breadcrumb 2015-05-15 09:43:06 +02:00
Aaron Bohy e7ff2d2c6a [IMP] Web: ListView: semantics classes for row decoration
based on bootstrap contextual colors, and bold/italic fonts.

Backward compatibility is ensured as the ListView is monkey-patched
to keep interpreting colors and fonts attributes.
2015-05-15 09:17:18 +02:00
Géry Debongnie a9522cb46f [IMP] web: introduces event bubbling in widgets
This commit adds event bubbling in the event dispatcher mixin (which
inherits from parentedmixins).  To do this, it introduces a new small
class 'OdooEvent', which register the target and if the event is stopped.

Also, widgets have a new 'custom_events' dictionary to easily register
callbacks like the event dictionary.
2015-05-15 09:16:34 +02:00
Géry Debongnie 97a5eee0ac [IMP] web: performance improvement with bus
The bus class listen for many mouse/keyboard events and trigger them on
itself.  This was intended for the main bus, but not for custom buses.

This commit should improve the performance when using many buses.
2015-05-15 09:16:34 +02:00
Géry Debongnie cd55968212 [FIX] web: better warning message when missing dependencies 2015-05-15 09:16:34 +02:00
Géry Debongnie ebd68aeb83 [FIX] web: prevent useless rpc in one2many
In some cases (for example, some popup dialogs with a form view), the
one2many field is destroyed but the async code still tries to append
a view manager to itself.  The result is that the start method of the
view manager is run, resulting in at least an useless fieldviewget.
2015-05-15 09:16:34 +02:00
Fabien Pinckaers 4585ed840b [IMP] view MO title 2015-05-13 10:44:59 -07:00
Yannick Tivisse 8483ca57ca [IMP] Several UX improvements from saas6 version
calendar : When you create an event (for example from a job interview), you should be set as an attendee.
crm : Lead/opportunity : Bounce should be read only
hr_recruitment : 'Create Employee' should be an action button, instead of a link in the form
website_sale : SO report typo invoicing address instead of invoice address
website : remove Unpublish on the dropdown
website_sale : if accessory product is a non published product : do not show it on the ecommerce (avoid 403 error)
2015-05-13 17:10:19 +02:00
qsm-odoo 101092b5aa [IMP] web_kanban: KanbanProgressBar changes to use ProgressBar widget 2015-05-13 17:05:24 +02:00
qsm-odoo 84208a6ba1 [IMP] web: New generic progressbar widget + FieldProgressBar adaptation 2015-05-13 17:04:20 +02:00
qsm-odoo af32bf13fc [FIX] web, web_kanban: Move Kanban ProgressBar out of web 2015-05-13 17:03:54 +02:00
Binjal Desai b0540916ac [FIX] hr_*: domain on removed fields 2015-05-13 14:16:00 +02:00
Yannick Tivisse 9f727dbf2a [IMP] website_sale : rename labels + remove group_no_one on Products menu 2015-05-13 14:05:36 +02:00
Jérome Maes 556e6503f9 [IMP] base: add accesskeys to switch between records in form views 2015-05-13 13:36:01 +02:00
Martin Geubelle 0aa5bb7ada [ADD] hr, hr_*: new dashboard view for hr departments 2015-05-12 18:00:08 +02:00
Martin Geubelle edd7e9b687 [ADD] sales_team, sale, crm: new dashboard view for sales_team 2015-05-12 18:00:08 +02:00
Martin Geubelle aa29ba226a [ADD] project, project_issue, rating_project, project_timesheet: new dashboard view for project 2015-05-12 18:00:01 +02:00
Martin Geubelle 46074acf51 [ADD] stock, stock_account, report_intrastat: new dashboard view for warehouse 2015-05-12 17:16:19 +02:00
Martin Geubelle cc6a6076de [ADD] web : progress bar widget + method for human readable big numbers 2015-05-12 17:16:19 +02:00
Martin Geubelle a86d6a7df9 [ADD] web_kanban: default behaviour and style for kanban dashboards 2015-05-12 17:16:19 +02:00
Martin Geubelle 338b05f08b [ADD] mrp: kanban mobile version for mrp.production 2015-05-12 17:16:19 +02:00
Martin Geubelle 17fa076bad [ADD] sale: kanban mobile version for sale.order 2015-05-12 17:16:19 +02:00
Martin Geubelle 60f4c40ca5 [ADD] purchase: kanban mobile version for purchase.order 2015-05-12 17:16:18 +02:00
Martin Geubelle c619cc365b [ADD] account_voucher: kanban mobile version for account.voucher 2015-05-12 17:16:18 +02:00