首页 > 代码库 > 页签中加按钮 odoo里面

页签中加按钮 odoo里面

<notebook>
<page string="订单明细">
<field name="line_id" >
<tree string="订单明细" editable="false">
<field name="partner_id" invisible="1"/>
<field name="product_id" on_change="get_product_unit(product_id,parent.cust_order_no,parent.date_planned,parent.partner_id)"/>
<field name="pname"/>
<field name="spec"/>
<field name="product_qty" on_change="qty_price_change(product_qty,price)"/>
<field name="dlvqty"/>
<field name="price" groups="ks_sale.group_sale_price_list_user"/>
<field name="total" groups="ks_sale.group_sale_price_list_user"/>
<field name="product_uom"/>
<field name="packing_type1"/>
<field name="date_planned"/>
<field name="requirement_id" on_change="sale_requirements_change(requirement_id)"/>
<field name="memo"/>
<field name="choice" />
<field name="state"/>
</tree>
</field>
<group class="oe_subtotal_footer oe_right" colspan="2" name="sale_total">
<field name="countsqty" widget=‘monetary‘ />
<field name="subtotal" widget=‘monetary‘ />
<button name="action_confirm_all_sale_order" string="确认" type="action" />
</group>
<div class="oe_clear"/>
</page>

技术分享







页签中加按钮 odoo里面