[IMP] better view
bzr revid: fp@tinyerp.com-20100612183757-x0191p9c4lpjl2ly
This commit is contained in:
parent
234351b959
commit
e5fa5ece20
|
@ -2,11 +2,11 @@
|
|||
<openerp>
|
||||
<data>
|
||||
<record id="view_sale_advance_payment_inv" model="ir.ui.view">
|
||||
<field name="name">Sale Advance Payment Invoive</field>
|
||||
<field name="name">Deposit Invoice</field>
|
||||
<field name="model">sale.advance.payment.inv</field>
|
||||
<field name="type">form</field>
|
||||
<field name="arch" type="xml">
|
||||
<form string="Advance Payment">
|
||||
<form string="Partial Invoice">
|
||||
<field name="product_id"/>
|
||||
<newline />
|
||||
<field name="qtty"/>
|
||||
|
@ -15,21 +15,12 @@
|
|||
<separator string="" colspan="4"/>
|
||||
<label string="" colspan="2" />
|
||||
<button special="cancel" string="Cancel" icon="gtk-cancel"/>
|
||||
<button name="create_invoices" string="Create Advance Invoice" type="object" icon="gtk-ok"/>
|
||||
<button name="create_invoices" string="Create Partial Invoice" type="object" icon="gtk-ok"/>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
|
||||
<act_window name="Advance Invoice"
|
||||
res_model="sale.advance.payment.inv"
|
||||
src_model="sale.order"
|
||||
view_mode="form"
|
||||
target="new"
|
||||
key2="client_action_multi"
|
||||
id="action_view_sale_advance_payment_inv"/>
|
||||
|
||||
|
||||
<record id="view_sale_open_invoice" model="ir.ui.view">
|
||||
<field name="name">Open Invoice</field>
|
||||
<field name="model">sale.open.invoice</field>
|
||||
|
|
Loading…
Reference in New Issue