Files
intrastat-extrastat/product_harmonized_system/security/product_hs_security.xml
Tom 244adcaf26 9.0 mig product harmonized system (#7)
* Backport from 10.0 to 9.0: import odoo to import openerp, <odoo> to <openerp>, bring back <data> if noupdate=1, rename __manifest__.py to __openerp__.py, downgrade version number to 9.0.1.0.0, and make module installable.

* Re-add H.S.codes menu item under Sales-Product-Configuration.
(it had been removed to remove the reference to product module, but I don't understand that decision since this module by nature depends on product module anyway)

* Added module tests.

* flake8

* Encoding lines at the beginning of python files
2016-11-21 16:53:50 +01:00

13 lines
393 B
XML

<?xml version="1.0" encoding="utf-8"?>
<openerp noupdate="1">
<data>
<record id="hs_code_company_rule" model="ir.rule">
<field name="name">HS Code Company rule</field>
<field name="model_id" ref="model_hs_code"/>
<field name="domain_force">['|', ('company_id', '=', False), ('company_id', 'child_of', [user.company_id.id])]</field>
</record>
</data>
</openerp>