mirror of
https://github.com/OCA/intrastat-extrastat.git
synced 2025-02-16 17:13:41 +02:00
[IMP] hscodes import: company always visible in install wizard
Module intrastat_product_hscodes_import, install wizard: The Company is a required field unchecking the 'Share Codes' flag. User having access to the Configuration Wizards will now be able to set the company field even if they do not belong to the multi-company usability group.
This commit is contained in:
@@ -16,7 +16,6 @@
|
||||
name="company_id"
|
||||
options="{'no_create': True, 'no_open': True}"
|
||||
domain="[('id', 'in', allowed_company_ids)]"
|
||||
groups="base.group_multi_company"
|
||||
attrs="{'required': [('share_codes','=',False)],'invisible': [('share_codes','=',True)]}"
|
||||
/>
|
||||
</group>
|
||||
|
||||
Reference in New Issue
Block a user