I want to add a button ,and I rectify the code like this:
<button name="order_confirm" states="draft" string="Confirm Order" icon="gtk-apply" confirm="Are u want to confirm order?"/>
<tree string="Sales Orders" colors="grey:state=='cancel';blue:state in ('waiting_date','manual');red:state in ('invoice_except','shipping_except')">
<field colspan="4" name="name"/>
<field name="date_order"/>
<field name="partner_id"/>
<field name="user_id"/>
<field name="picked_rate" widget="progressbar"/>
<field name="invoiced_rate" widget="progressbar"/>
<field name="amount_untaxed" sum="Total Tax Excluded"/>
<field name="amount_total" sum="Total Tax Included"/>
<field name="state"/>
</tree>
But it cant work ,I want to know what mistake i make... Thanks...
it woke like this : http://postimg.org/image/x3xmfw18j/