Partial port of product_usability

This commit is contained in:
Alexis de Lattre
2016-10-31 15:40:28 +01:00
committed by Raphaël Valyi
parent 4be79484b0
commit 8cc2fe66f4
5 changed files with 50 additions and 93 deletions

View File

@@ -1,13 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2015 Akretion (http://www.akretion.com/)
@author: Alexis de Lattre <alexis.delattre@akretion.com>
The licence is in the file __openerp__.py
© 2015-2016 Akretion (http://www.akretion.com/)
@author: Alexis de Lattre <alexis.delattre@akretion.com>
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
-->
<openerp>
<data noupdate="1">
<odoo noupdate="1">
<record id="product_price_history_rule" model="ir.rule">
<field name="name">Product price history multi-company</field>
@@ -15,5 +14,4 @@
<field name="domain_force">['|', ('company_id', '=', False), ('company_id', 'child_of', [user.company_id.id])]</field>
</record>
</data>
</openerp>
</odoo>