Commit Graph
95127 Commits
Author SHA1 Message Date
qdp-odoo f366bda9a7 [IMP] account: set the date_maturity field on account.move.line as required for the sake of being more explicit, and having the aged receivable/payable reports that work 2015-05-20 11:56:51 +02:00
Martin Geubelle 72dba4f051 [IMP] account, account_reports, account_batch_deposit : improve kanban dashboard view to fit with new design 2015-05-20 10:59:02 +02:00
Martin Geubelle f1906d704b [REM] web_kanban_sparkline: module and dependencies (project, sale, sales_team, stock, mass_mailing)
The module was not used anymore.
2015-05-20 10:41:01 +02:00
qdp-odoo 8e854f587c [FIX] account, dashboard: wrong figures for graph and amounts in bank journal kanban box if there were several statements on the same day 2015-05-19 17:09:04 +02:00
qdp-odoo 9b4075bd0a [FIX] l10n_generic_coa: added tags for cash summary report 2015-05-19 17:09:04 +02:00
qdp-odoo 0dd04fa150 [REF] account: removed 'date' field on account.payment object (using payment_date is enough) 2015-05-19 17:09:04 +02:00
Thibault Delavallée 1b9dbfae21 [FIX] mail: missing decorators, leading to old API / new API
mismtach.
2015-05-19 16:05:33 +02:00
Thibault Delavallée 63f435a1d0 [FIX] mail: mail_template: fixed create_action method that creates the
more menu action linked to an email template.

[TESTS] mail: added a test for this method.
2015-05-19 16:05:33 +02:00
Thibault Delavallée 83aeb687bc [FIX] mail: chatter: call a multi method using a list of ids, not a single id. 2015-05-19 16:05:32 +02:00
Thibault Delavallée 9d3a5ec72a [IMP][FIX] mail: tests: updated mute loggers (moved files) + added loggers were necessary. 2015-05-19 16:05:32 +02:00
Géry Debongnie f3b46459f3 [REVERT] web: form_relational_widget: remove unused javascript code
This reverts commit 6c0376e932.
It turns out that this javascript code was not unused after all.
(see kanban view inside customers, clicking on them should open the
contact in a popup)
2015-05-19 15:08:20 +02:00
Jigar Patel d403c9acfd [FIX] website: Open edit menu dialog 2015-05-19 14:33:45 +02:00
Josse Colpaert de1556ac7e [FIX] stock_account: Post install should check for all companies and not always create
The method will check all companies with a chart of account if they have a property for the stock journal.
If there is no stock journal it will create one.  Previously it created only one for the main company and this
gave an error when updating the module again
2015-05-19 14:03:11 +02:00
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