Skip to content

Commit

Permalink
fix invoice view
Browse files Browse the repository at this point in the history
  • Loading branch information
gborelli committed Nov 10, 2014
1 parent 2b4e81d commit ef44de0
Showing 1 changed file with 16 additions and 11 deletions.
27 changes: 16 additions & 11 deletions sale_commission/view/invoice_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,12 @@
<field name="model">invoice.line.agent</field>
<field name="arch" type="xml">
<form string="Commissions and Agents" >
<field name="agent_id" />
<field name="commission_id" />
<field name="settled" />
<field name="quantity" readonly="1"/>
<group>
<field name="agent_id" />
<field name="commission_id" />
<field name="settled" />
<field name="quantity" readonly="1"/>
</group>
</form>
</field>
</record>
Expand All @@ -34,16 +36,17 @@
<field name="inherit_id" ref="account.view_invoice_line_form" />
<field name="arch" type="xml">
<field name="name" position="after">
<separator string="Commissions" colspan="2"/>
<field name="commission_ids" colspan="2" nolabel="1"/>
<!-- BBB: Should it be removed?
<separator string="Notes" colspan="2"/>
<field colspan="2" name="note" nolabel="1"/>
-->
</field>
<separator string="Commissions" colspan="2"/>
<field name="commission_ids" colspan="2" nolabel="1"/>
<!-- BBB: Should it be removed?
<separator string="Notes" colspan="2"/>
<field colspan="2" name="note" nolabel="1"/>
-->
</field>
</field>
</record>


<record id="invoice_supplier_form_add_agent_field" model="ir.ui.view">
<field name="name">account.invoice.supplier.form.add_agent_field</field>
<field name="model">account.invoice</field>
Expand All @@ -59,6 +62,7 @@
</field>
</record>


<record id="invoice_form_add_agent_field" model="ir.ui.view">
<field name="name">account.invoice.form.add_agent_field</field>
<field name="model">account.invoice</field>
Expand All @@ -77,6 +81,7 @@
</field>
</record>


<record id="invoice_form_add_code_country" model="ir.ui.view">
<field name="name">account.invoice.form.add_code_country</field>
<field name="model">account.invoice</field>
Expand Down

0 comments on commit ef44de0

Please sign in to comment.