forked from avanzosc/sale-addons
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
x[IMP] website_sale_cancel_not_show: Improve domain
- Loading branch information
1 parent
65a5b1d
commit aeb15ff
Showing
3 changed files
with
23 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?xml version="1.0" encoding="UTF-8" ?> | ||
<odoo> | ||
<record id="portal_partner_quotations_sales_orders_rule" model="ir.rule"> | ||
<field name="name">Portal Partner Quotations/Sales Orders Rule</field> | ||
<field name="model_id" ref="sale.model_sale_order" /> | ||
<field name="perm_read">1</field> | ||
<field name="perm_write">1</field> | ||
<field name="perm_create">0</field> | ||
<field name="perm_unlink">1</field> | ||
<field | ||
name="domain_force" | ||
>[('partner_id','child_of', [user.commercial_partner_id.id])]</field> | ||
</record> | ||
</odoo> |