Skip to content
Snippets Groups Projects
Commit ebaf3579 authored by Andrea's avatar Andrea Committed by fw-bot
Browse files

[FIX] l10n_ch: set field l10n_ch_currency_name to readonly


l10n_ch_currency_name is a related field to currency
Without this patch, when creating an invoice, the inverse of the
related field was computed, trying to write the name on the currency
(with the same value).
If a user did not have the required access rights (e.g. a user in the
group Billing can create an invoice but not write on res.currency by
default), he was unable to create the invoice.

Fixes odoo/odoo#31487
Closes odoo/odoo#31489

closes odoo/odoo#37373

X-original-commit: 5e49fa80
Signed-off-by: default avatarMartin Trigaux (mat) <mat@odoo.com>
parent 2c450015
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment