OCA / l10n-italy

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

l10n_it_vat_statement_communication update multi company rule #4354

Open patrickt-oforce opened 2 months ago

patrickt-oforce commented 2 months ago

When module is updated during migration not rewrite the multicompany rule

Module

l10n_it_vat_statement_communication

Describe the bug

After module migration multi company rule is updated as defined in security.xml file

To Reproduce

Affected versions:

Steps to reproduce the behavior:

  1. Create new vat communication on a migrated db
  2. Save new communication
  3. Multi company access exception is raised

Expected behavior Exception not raised when new vat statement communication is saved on a migrated db