-
-
Notifications
You must be signed in to change notification settings - Fork 346
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bec78f5
commit 14317f4
Showing
2 changed files
with
22 additions
and
0 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
21 changes: 21 additions & 0 deletions
21
sale_commission_so_based/views/commission_settlement_views.xml
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,21 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<odoo> | ||
|
||
<record model="ir.ui.view" id="view_settlement_form"> | ||
<field name="name">Settlements - Add sales stuff</field> | ||
<field name="model">commission.settlement</field> | ||
<field name="inherit_id" ref="account_commission.view_settlement_form" /> | ||
<field name="arch" type="xml"> | ||
<xpath | ||
expr="//field[@name='line_ids']/tree/field[@name='date']" | ||
position="after" | ||
> | ||
<field | ||
name="sale_line_id" | ||
attrs="{'column_invisible': [('parent.settlement_type', '!=', 'sale_order')]}" | ||
/> | ||
</xpath> | ||
</field> | ||
</record> | ||
|
||
</odoo> |