~camptocamp/purchase-report/purchase_print_button

« back to all changes in this revision

Viewing changes to purchase_order_webkit/view/purchase_view.xml

  • Committer: Vincent Renaville
  • Date: 2014-04-16 07:35:50 UTC
  • Revision ID: vincent.renaville@camptocamp.com-20140416073550-sr72fkzohtiuwvls
[FIX] remove unused <tr> + fix button to print quotation and add print button 

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0"?>
 
2
<openerp>
 
3
    <data>
 
4
 
 
5
      <record model="ir.ui.view" id="purchase_order_form_over">
 
6
       <field name="name">purchase.order.form.add.notes</field>
 
7
       <field name="model">purchase.order</field>
 
8
       <field name="inherit_id" ref="purchase.purchase_order_form"/>
 
9
       <field name="arch" type="xml">
 
10
         <xpath expr="//button[@name='print_quotation'][last()]" position="after">
 
11
                <button name="print_purchase" string="Print" type="object" states="approved,except_picking,except_invoice" groups="base.group_user"/>
 
12
         </xpath>
 
13
       </field>
 
14
     </record>
 
15
 
 
16
    </data>
 
17
</openerp>