OCA / l10n-italy

Odoo Italian localization
https://www.odoo-italia.org
GNU Affero General Public License v3.0
142 stars 297 forks source link

Permission error while importing an incoming e-invoice #4242

Open PicchiSeba opened 4 days ago

PicchiSeba commented 4 days ago

Is your feature request related to a problem?

In some cases, importing an incoming e-invoice will show an error message stating that the user doesn't have the necessary group to edit a certain field (in my case it was stock_valuation_layer_ids and the user was missing the "Stock / Administrator" group)

Describe the solution you'd like

After a bit if investigation I found out that all the fields of the invoice were being overwritten. For many of them the new value was the same as the old one. I'd like a check to overwrite only those fields with different values