qdp-odoo
d5359cfcf4
[FIX] l10n_be: fix installation of module
...
The previous commit https://github.com/odoo/odoo/commit/7a31a92afa9a2ad280a6ec110fc9547e48b89466 removed the liquidity transfer account template to replace it with a system of prefix like we already had for bank/cash accounts. However, that transfer account template was used as account_id in an account.reconcile.model.template object.
To fix that, at the creation of chart template (using _update() of ir.model.data, because we need to have the module/xml_id reference) we create the account.account.template and its xml reference in ir_model_data table
Was OPW https://www.odoo.com/web?#id=1851523&action=333&active_id=1278&model=project.task&view_type=form&menu_id=
2018-05-29 13:52:12 +02:00
Benjamin Stiens
6383120f3b
[IMP] all: Improve error messages
...
Many error messages are misleading or too "vague"
This task aims to improve all error message.
Task #47042
PR #23321
2018-05-28 16:45:48 +02:00
Christophe Simonis
42ad3da366
Revert "[FIX] l10n_be: fix installation of module"
...
This break installation of `payment` module.
This reverts commit 98fa196e00 .
2018-05-28 11:35:29 +02:00
qdp-odoo
98fa196e00
[FIX] l10n_be: fix installation of module
...
The previous commit https://github.com/odoo/odoo/commit/7a31a92afa9a2ad280a6ec110fc9547e48b89466 removed the liquidity transfer account template to replace it with a system of prefix like we already had for bank/cash accounts. However, that transfer account template was used as account_id in an account.reconcile.model.template object.
To fix that, at the creation of chart template (using _update() of ir.model.data, because we need to have the module/xml_id reference) we create the account.account.template and its xml reference in ir_model_data table
Was OPW https://www.odoo.com/web?#id=1851523&action=333&active_id=1278&model=project.task&view_type=form&menu_id=
2018-05-25 16:49:08 +02:00
qdp-odoo
82592edaba
[REF] account: removed company_id field on account.chart.template
...
Because that field doesn't have any meaning on a template object...
2018-05-25 16:49:08 +02:00
qdp-odoo
2a3048316e
[REF] account: removed company_id on account.tax.template
...
Because this field doesn't have any meaning on a template object...
2018-05-24 15:14:54 +02:00
Laurent Smet
7a31a92afa
[ADD] account, l10n_*: create transfer account based on prefix.
...
This commit changes the mechanism to get the transfer account.
As the bank/cash accounts, the transfer account is now created automatically based on
a prefix.
-task: https://www.odoo.com/web#id=35857&action=333&active_id=967&model=project.task&view_type=form&menu_id=4720
2018-05-23 15:43:39 +02:00
Christophe Simonis
ec5e27bb7c
[MERGE] forward port branch saas-11.2 up to 7fd9dbdd9f
2018-04-24 16:35:06 +02:00
Christophe Simonis
7fd9dbdd9f
[MERGE] forward port branch 11.0 up to b9ce1affbf
2018-04-24 15:55:17 +02:00
qdp-odoo
61fe7a7820
[FIX] account: allow switching from CoA if empty moves exists
...
This is needed in case we open the Chart of Account step from the configuration bar, as it will silently create the opening journal entry
2018-04-24 09:21:01 +02:00
Christophe Simonis
74033eb007
[MERGE] forward port branch saas-11.2 up to 90f8f17fb4
2018-04-16 19:50:50 +02:00
Christophe Simonis
860dfb5586
[MERGE] forward port branch 11.0 up to d277adf4d5
2018-04-06 15:36:10 +02:00
mreficent
3754280a05
[FIX] account: don't require a company in tax_templates
...
We want to force the tax template to be blank always, because multiple companies can potentially use this template to create taxes. We want consistency company-wise.
2018-04-04 16:16:34 +02:00
qdp-odoo
0afab2853b
[FIX] account: fix previous commit
...
Field enaming introduced at https://github.com/odoo/odoo/commit/bfe362c87a2c058c9257166dca096d80c79d3dc3 left some references to old field name. #oops #cestpasmoicestlui
2018-03-29 21:54:13 +02:00
Laurent Smet
bfe362c87a
[IMP] account: allow choosing a cash basis taxes account for base amount
...
When using cash basis taxes, the user has now the possibility to select a cash basis account containing the base amount during the generation of accounting entries.
This commit has been backported in v9 (in form of a module) in revision 1631889e91
- task: https://www.odoo.com/web#id=40284&view_type=form&model=project.task&action=333&active_id=967&menu_id=4720
- Was PR #22599
2018-03-29 18:15:38 +02:00
Christophe Simonis
e0345a4a3f
[MERGE] forward port branch 11.0 up to 2835d29979
2018-03-20 11:45:11 +01:00
Nicolas Lempereur
87c09b8ebc
[FIX] account: false complete_tax_set tax default
...
When setting a chart of account on a company, we have default taxes from
the default chart of account different from chosen one.
But if a chart of account is chosen, it should override them in the
onchange_chart_template_id function. This works as expected for a
truthy complete_tax_set chart of account template, but not for a falsy
complete_tax_set chart of account template.
The complete_tax_set indicates that we don't want to set default taxes
and the user should do it or modify the given tax rates himself.
opw-1824751
closes #23655
2018-03-15 09:52:13 +01:00
Christophe Simonis
0f02dcb639
[MERGE] forward port branch saas-11.1 up to c69d00157e
2018-02-12 18:08:27 +01:00
Christophe Simonis
5f3301e5cb
[MERGE] forward port branch 11.0 up to 20e4cd5bcd
2018-02-09 16:13:08 +01:00
Christophe Simonis
4b43803dc6
[MERGE] forward port branch saas-16 up to e2ae51c4b0
2018-02-09 15:02:31 +01:00
Christophe Simonis
e2ae51c4b0
[MERGE] forward port branch saas-15 up to 6d0f63ec4e
2018-02-09 12:41:15 +01:00
Christophe Simonis
9b2d3b19a6
[MERGE] forward port branch 10.0 up to df3fb9f85a
2018-02-09 12:39:43 +01:00
mreficent
aac8f9730e
[FIX] base: on_change_country() on res.company should return an ID
...
Previously, the return value was sometimes an int and sometimes a browse record.
Was PR #22810 . Courtesy of Miquel Raïch (Eficent)
2018-02-09 09:53:57 +01:00
Christophe Simonis
782154da11
[MERGE] forward port branch saas-11.1 up to f6ef0c7760
2018-01-10 20:35:53 +01:00
Christophe Simonis
228ecdbe28
[MERGE] forward port branch 11.0 up to ff0abd214c
2018-01-10 11:41:35 +01:00
Christophe Simonis
6e25eb9b05
[MERGE] forward port branch saas-16 up to 4c410ee6a1
2018-01-09 17:03:07 +01:00
Christophe Simonis
4c410ee6a1
[MERGE] forward port branch saas-15 up to 38b201abce
2018-01-09 16:30:50 +01:00
Christophe Simonis
e671cdcc44
[MERGE] forward port branch 10.0 up to 849d8ffd21
2018-01-09 15:12:51 +01:00
Laurent Smet
57ecab7154
[IMP] account, l10n_*: merge tax_adjustement as a new type_tax_use
2018-01-09 10:26:50 +01:00
Laurent Smet
8ea187e74e
[IMP] l10n_*: make bank_account_code_prefix/cash_account_code_prefix required
2018-01-09 10:25:53 +01:00
David Arnold
ad2d34cf33
[FIX] account: ensure chart template translation in company's lang
...
Before this commit, in the event that the admin user has set the language
to english, but the COA's target company had a different language,
the admin user's language had been taken instead of the copany's one
for the translation of journals and other coa intialization stuff.
This is wrong as the CoA is more connected to the company, than to the
user, which could be a functional support user that just happens to prefer
the english version over the local one.
Now, we ensure in two neuralgic places, that the company's language is passed
to the context and therefore picked up by the translation's GetTextAlias.
Signed-off-by: David Arnold <dar@xoe.solutions >
2018-01-03 11:43:50 +01:00
Christophe Simonis
8ef7af6afe
[MERGE] forward port branch 11.0 up to f96a797fe6
2017-12-06 12:02:58 +01:00
Christophe Simonis
f96a797fe6
[MERGE] forward port branch saas-16 up to b8540eefe3
2017-12-06 11:59:38 +01:00
Christophe Simonis
a8d01cbf4e
[MERGE] forward port branch saas-15 up to a447da75fd
2017-12-04 20:12:19 +01:00
Christophe Simonis
426e269c22
[MERGE] forward port branch 10.0 up to 067a241ea8
2017-12-04 16:24:24 +01:00
Sanjay Jamod
026979c278
[REF] account: remove option to change number of digits
...
Remove the possibility to define the number of digits for the accounts in the accounting settings.
People can do a export/import to do that.
Was PR #16587 . Was task 32750
2017-12-04 12:15:44 +01:00
Luc De Meyer
ab52c636c3
[FIX] account: use proper return format for default_get
...
default_get expects ids, not recordset (e.g. called by webclient)
Closes #21358
2017-12-04 10:22:35 +01:00
Christophe Simonis
2f99470458
[MERGE] forward port branch 11.0 up to c201cf2b77
2017-12-01 12:55:02 +01:00
Christophe Simonis
42264d8dcb
[MERGE] forward port branch saas-16 up to 5d7ad2b16c
2017-11-30 18:43:08 +01:00
Christophe Simonis
ab084d580f
[MERGE] forward port branch saas-15 up to 98539336a5
2017-11-30 15:27:59 +01:00
Nicolas Martinelli
a9ede7fdfa
[FIX] account: default taxes
...
Use `ir.default` for default taxes. Stop using `ir.config_parameter`.
Fixes #18943
opw-778010
2017-11-30 12:15:48 +01:00
Christophe Simonis
f0a1bc81eb
[MERGE] forward port branch 10.0 up to f4a54d7f66
2017-11-20 18:56:01 +01:00
Christophe Simonis
f4a54d7f66
[MERGE] forward port branch 9.0 up to bab597bb47
2017-11-20 18:23:37 +01:00
Laurent Smet
9785f8bbed
[FIX] account: fix migrate_tags_on_taxes not working on multi-company
...
-opw: see PR https://github.com/odoo/odoo/pull/20792
2017-11-16 09:11:03 +01:00
qdp-odoo
d86da5de53
[FIX] account: set default tax upon installation of a localization
...
(defined as the one with the lowest sequence in the chart template)
2017-11-10 12:47:18 +01:00
rde
a86de52aac
[FIX] account: Incorrect behavior for default taxes when multi company is enabled.
...
Was PR #18931
2017-11-08 20:39:13 +01:00
Andrew Latham
7fd8c7f7f7
[FIX] account: correct spelling mistakes
...
Closes #20652
Partially backported at 5aebc22722
2017-11-03 09:19:33 +01:00
Andrew Latham
5aebc22722
[FIX] account: correct English mistakes
...
From #20652 taking visible strings to 11.0
2017-11-03 09:18:56 +01:00
Christophe Simonis
8f1e2044cd
[MERGE] forward port branch saas-16 up to 810b6aa760
2017-10-31 16:29:07 +01:00
Christophe Simonis
810b6aa760
[MERGE] forward port branch saas-15 up to d1fcca1504
2017-10-31 15:25:01 +01:00