Commit Graph
104132 Commits
Author SHA1 Message Date
Yannick Tivisse 6a4899ea8f [MERGE] auth_ldap: Migrate to new API 2016-07-29 15:17:03 +02:00
Kinjal Mehta c4c716579a [MIG] auth_ldap: Migrate into new api. 2016-07-29 15:15:47 +02:00
Kinjal Mehta a7d276727f [SPLIT] auth_ldap: split files according to new API. 2016-07-29 15:15:47 +02:00
Kinjal Mehta 64ac8caa06 [MOVE] auth_ldap: Move files in related models and views directory 2016-07-29 15:15:47 +02:00
Richard Mathot e6ab21be58 [IMP] base_action_rule: add search view for BAR 2016-07-29 14:59:30 +02:00
Richard Mathot 9a38428a2a [IMP] base: allow to filter translations on model and view 2016-07-29 14:59:30 +02:00
Richard Mathot 599f3bc562 [IMP] base: allow to filter actions on model 2016-07-29 14:59:30 +02:00
Richard Mathot f543a28a0f [IMP] base: allow to filter models on model technical name only 2016-07-29 14:59:30 +02:00
Richard Mathot 4b3ce99b26 [IMP] base,report,report_webkit: clean config view for Reports 2016-07-29 14:59:30 +02:00
Yannick Tivisse b15f001dfb [MERGE] base_iban: Migrate to new api 2016-07-29 13:10:42 +02:00
htr-odoo 1b94ff054c [MIG] base_iban: Migrate to new API 2016-07-29 13:10:15 +02:00
htr-odoo ce79826dd3 [MOV] base_iban: Restructure directory according to new API guidelines 2016-07-29 13:10:15 +02:00
Yannick Tivisse 962d0ee354 [FIX] report: display correclty the first printed report
The key 'commit_assetsbundle' wasn't in the context to the method 'get_pdf'
This issue comes from the module migration.
2016-07-29 12:20:41 +02:00
Yannick Tivisse 42b891700e [FIX] report: allow 'get_action' to receive id, ids or browse records as 'docids'
1/ If no docids are passed in get_action (empty list) do not put in context

2/ The method should accept ids or browse records as docids for retrocompatibility.
- The api.v7 method took ids as docids
- The api.v8 method took a browse records 'records' to call the api.v7 method with
  'records.ids' as docids
In python, we cannot write 2 functions with the same name that takes differents types
for the same argument. The function 'guess' in api.py will lead to a crash if we expect
a browse record and we send a list
The only way to allow the method to receive different types for the same argument is
to decorate it with '@api.noguess' to prevent any effect from guess method.
That way, we check directly if 'docids' is an id, ids or a browserecord and we always set
a list instead.
2016-07-29 12:20:41 +02:00
Yannick Tivisse 3025951982 [MERGE] account_accountant: Migrate to new API 2016-07-29 11:31:38 +02:00
Yannick Tivisse 29b4f1e459 [MIG] account_accountant: Migrate to new API 2016-07-29 11:04:43 +02:00
Yannick Tivisse 925151cf0c [MOV] account_accountant: Restructure directory according to new API guidelines 2016-07-29 11:04:43 +02:00
Yannick Tivisse f217281f4b [MERGE] hr_payroll_account: Migrate to new API 2016-07-29 10:00:11 +02:00
Yannick Tivisse eb11f3ba25 [MIG] hr_payroll_account: Migrate to new API (code + tests) 2016-07-29 09:58:22 +02:00
Yannick Tivisse 4d8894c8d6 [REM] hr_payroll, hr_payroll_account: removed unused onchange method 2016-07-29 09:55:49 +02:00
Yannick Tivisse 195e4625df [MOV] hr_payroll_account: Restructure directory according to new API guidelines 2016-07-29 09:55:49 +02:00
Nicolas Martinelli 9975e52723 [FIX] sale_stock: incorrect value in error message
The error message has an hardcoded precision of 2 digits, which is not
enough of the product precision is higher than 2.

opw-683639
Fixes #12629
2016-07-28 15:28:43 +02:00
Yannick Tivisse 5982b857f8 [MERGE] account_budget: Migrate to new API 2016-07-28 09:15:36 +02:00
Yannick Tivisse 0f0b4f4266 [MIG] account_budget: Migration to new API
The following test have been removed because they were calling methods that doesn't
exist anymore or looking for xmlids that doesn't exist anymore too. Since the new accounting
the test imports were commented, because the features were removed I guess.
- account_budget_report.yml
- account_budget_spread.yml

The 'test/demo' account_budget_demo.yml was something like a common.py file so the test
account_budget_report.yml was rewritten in python with a common file and the test
test_theoreticalamount.py has been adapted accordingly (no more strange use to _update)

For the rest of the migration, nothing particuliar to notice
2016-07-28 09:14:42 +02:00
Yannick Tivisse 5bce1d7c17 [REM] account_budget: Remove budget reports and associated wizards
These reports are broke since saas-7, very badly written, and have exactly
the same layout than the form view.

al approval
2016-07-28 09:14:10 +02:00
Yannick Tivisse eb1982336f [SPLIT] account_budget: split files according to the models 2016-07-28 09:14:10 +02:00
Yannick Tivisse 183290c19f [MOV] account_budget: Restructured directory according to new API guidelines 2016-07-28 09:14:10 +02:00
fwi-odoo b4579339c8 [IMP] product_extended: replace openerp tags, rename class and add py coding 2016-07-27 15:56:27 +02:00
fwi-odoo 9ccb88beb5 [MOV] product_extended: reorganise files 2016-07-27 15:55:25 +02:00
fwi-odoo 8b8fe90fd8 [IMP] website_crm_partner_assign: add license in python 2016-07-27 13:22:17 +02:00
fwi-odoo 9fd4ab1b5b [IMP] association: replace openerp tag and move xml into views folder 2016-07-27 10:37:45 +02:00
Martin Trigaux fdb58fc77c [IMP] all: remove reference to statusbar_color
Linked to #5987
2016-07-26 15:13:28 +02:00
Damien Bouvy 8d4b97ef3c [FIX] website_portal: fix typo
No crash, but better to take the value after whitelisting for code
consistency.
2016-07-25 15:59:13 +02:00
Damien Bouvy 16f7485783 [IMP] website_portal_sale: prevent partner changes if invoices exist
We should not allow a partner to *easily* change its invoicing data
if invoices have already been issued to him.
2016-07-25 13:59:11 +02:00
Damien Bouvy 259e778404 [IMP] website_portal: whitelist values in submitted in post 2016-07-25 13:56:50 +02:00
Fabien Pinckaers c5eefb3c7f [IMP] payment*: better acquirer kanban cards and logos 2016-07-20 16:11:18 -07:00
Fabien Pinckaers 04346a0f4a [FIX] timesheet: detailed activities view (tree by default, not grid) 2016-07-20 10:31:53 -07:00
Fabien Pinckaers dde80404f9 [IMP] payment: improved payment kanban view 2016-07-20 10:30:50 -07:00
qsm-odoo ac4c2531ad [IMP] theme_default, website_theme_install: add link to themes
The website_theme_install module now adds a link in the theme customize
modal to propose to install a theme when none is installed.

Also correct the name of the theme_default customize modal template.
2016-07-20 17:02:58 +02:00
Martin Trigaux 33fe066cbb [IMP] website_crm_partner_assign: translates the grade level name
To avoid strange results like 'Gold partenaire' on /partners page.

Fixes #12819
2016-07-20 16:16:11 +02:00
qsm-odoo 5bbe952d30 [IMP] web: simplify deferred chain for form view leaving 2016-07-20 16:08:49 +02:00
Aaron Bohy 1da9f1dc10 [IMP] web: logout client action: prevent toggling app switcher
When the webclient calls do_action from the app_switcher, it toggles it when
the returned deferred is resolved.

The logout client action didn't return anything, so when logging out from the
app switcher, the webclient directly toggled the app_switcher and displayed
the last opened action if any, and a gray screen otherwise.

This commit makes the client action return a deferred which is never resolved,
so the app_switcher isn't toggled when logging out.
2016-07-20 16:06:32 +02:00
Yannick Tivisse 7b439be276 [MERGE] report: Migration to new API 2016-07-19 11:58:44 +02:00
rka-odoo c727a00aca [FIX] hr_payroll: Pass active_ids to 'get_action' 2016-07-19 11:56:45 +02:00
rka-odoo 2681c22089 [FIX] report_webkit: Re-write yml test into python
An yml import is instantiated in old api style, with old api self and
registry. As there are no more api.v7 method in report, rewriting the
yml test in python will make the test valid
2016-07-19 11:56:36 +02:00
rka-odoo 47c67b640b [MIG] report: Migration to new API 2016-07-19 11:56:29 +02:00
rka-odoo 01ad2f3a90 [SPLIT] report: Split files by model 2016-07-19 11:56:22 +02:00
rka-odoo 78fc98574e [MOV] report: Change directory structure according to new api guidelines 2016-07-19 11:55:49 +02:00
Fabrice Henrion e8db7e483f [IMP] im_livechat: improve the tooltip grammar
Closes #12480
2016-07-19 10:30:55 +02:00
qsm-odoo eaf8e82efb [IMP] *: activate automatic tour tests
* project, crm, point_of_sale, website, website_sale, website_blog,
website_event, website_forum
2016-07-18 14:22:29 +02:00