mirror of
https://github.com/OCA/intrastat-extrastat.git
synced 2025-02-16 17:13:41 +02:00
* 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
13 lines
393 B
XML
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>
|