Remove patches that add ir.rule.group
Since issue4080 add default rule group in analytic account and stock inventory #163075
This commit is contained in:
parent
00ce38706d
commit
497e2eed1d
|
@ -1,24 +0,0 @@
|
||||||
diff -r 6c1f98f2f997 account.xml
|
|
||||||
--- a/tryton/modules/analytic_account/account.xml Sun Apr 07 19:50:02 2019 +0200
|
|
||||||
+++ b/tryton/modules/analytic_account/account.xml Fri Apr 12 21:23:20 2019 +0200
|
|
||||||
@@ -160,5 +160,20 @@
|
|
||||||
<field name="type">tree</field>
|
|
||||||
<field name="name">analytic_account_entry_tree</field>
|
|
||||||
</record>
|
|
||||||
+
|
|
||||||
+ <record model="ir.rule.group" id="rule_analytic_account">
|
|
||||||
+ <field name="name">User in company</field>
|
|
||||||
+ <field name="model"
|
|
||||||
+ search="[('model', '=', 'analytic_account.account')]"/>
|
|
||||||
+ <field name="global_p" eval="True"/>
|
|
||||||
+ </record>
|
|
||||||
+ <record model="ir.rule" id="rule_analytic_account1">
|
|
||||||
+ <field name="domain"
|
|
||||||
+ eval="[('company', 'in', Eval('user', {}).get('companies', []))]"
|
|
||||||
+ pyson="1"/>
|
|
||||||
+ <field name="rule_group" ref="rule_analytic_account"/>
|
|
||||||
+ </record>
|
|
||||||
+
|
|
||||||
+
|
|
||||||
</data>
|
|
||||||
</tryton>
|
|
|
@ -1,20 +0,0 @@
|
||||||
diff -r 27ef44e71712 inventory.xml
|
|
||||||
--- a/tryton/modules/stock/inventory.xml Thu Apr 04 17:02:50 2019 +0200
|
|
||||||
+++ b/tryton/modules/stock/inventory.xml Thu Apr 04 17:10:20 2019 +0200
|
|
||||||
@@ -60,6 +60,16 @@
|
|
||||||
<field name="name">inventory_line_tree</field>
|
|
||||||
</record>
|
|
||||||
|
|
||||||
+ <record model="ir.rule.group" id="rule_group_inventory">
|
|
||||||
+ <field name="name">Inventory Group</field>
|
|
||||||
+ <field name="model" search="[('model', '=', 'stock.inventory')]"/>
|
|
||||||
+ <field name="global_p" eval="True"/>
|
|
||||||
+ </record>
|
|
||||||
+ <record model="ir.rule" id="rule_inventory">
|
|
||||||
+ <field name="domain" eval="[('company', 'in', Eval('user', {}).get('companies', []))]" pyson="1"/>
|
|
||||||
+ <field name="rule_group" ref="rule_group_inventory"/>
|
|
||||||
+ </record>
|
|
||||||
+
|
|
||||||
<record model="ir.model.access" id="access_inventory">
|
|
||||||
<field name="model" search="[('model', '=', 'stock.inventory')]"/>
|
|
||||||
<field name="perm_read" eval="False"/>
|
|
3
series
3
series
|
@ -4,10 +4,9 @@ issue3932.diff # [account] rule account move and account move line by company
|
||||||
tax_update_unit_price.diff # [account] Add the update_unit_price control on parent tax
|
tax_update_unit_price.diff # [account] Add the update_unit_price control on parent tax
|
||||||
|
|
||||||
issue8479.diff # [account_invoice] missing invoice payment method rule by company
|
issue8479.diff # [account_invoice] missing invoice payment method rule by company
|
||||||
analitic_line_company_rules.diff # [analytic_account] Not selected root accounts in analytic account lines
|
|
||||||
|
|
||||||
sale_supply_supply_on_sale_multivalue.diff # [sale_supply] supply_on_sale field multvalue #035100
|
sale_supply_supply_on_sale_multivalue.diff # [sale_supply] supply_on_sale field multvalue #035100
|
||||||
issue4482.diff # [stock] stock inventory misses company access rule
|
|
||||||
search_warehouse.diff # [stock] search function for warehouse
|
search_warehouse.diff # [stock] search function for warehouse
|
||||||
|
|
||||||
model.diff # [trytond] Allows dynamic fields in Model as required by the wizard in sale_pos_template_quantities
|
model.diff # [trytond] Allows dynamic fields in Model as required by the wizard in sale_pos_template_quantities
|
||||||
|
|
Loading…
Reference in New Issue