summaryrefslogtreecommitdiff
path: root/addons/web/static/src
diff options
context:
space:
mode:
authorJorge Pinna Puissant <jpp@odoo.com>2019-07-09 08:06:01 +0000
committerJorge Pinna Puissant <jpp@odoo.com>2019-07-16 09:20:47 +0000
commit19d340c712bb7db76b03ebba28967b7b1e074341 (patch)
tree79933cfec40d6eb80ba43228329d3751565d0545 /addons/web/static/src
parent68273e2181cc2bce65a1c6e7d22ea714f36283af (diff)
[FIX] l10n_ch: write access to create invoices
- Having a user with access to create an invoice in Accounting, but without the rights to create or modify Currency's objects; - Install the Switzerland localization; - Create an invoice with this user. Before this commit, the user will have an access error. This issue arise because when saving an invoice it will also try to save the name of the currency. In the Switzerland localization a field(l10n_ch_currency_name) is related to the currency's name of the invoice. Now, this field is tagged as read-only, and when saving an invoice, it won't try to save also the currency's name. opw-2032756 closes odoo/odoo#34680 Signed-off-by: Nans Lefebvre (len) <len@odoo.com>
Diffstat (limited to 'addons/web/static/src')
0 files changed, 0 insertions, 0 deletions