托盘打印出条形码功能
This commit is contained in:
@@ -1,27 +1,18 @@
|
||||
<odoo>
|
||||
<data>
|
||||
<record id="sf_tray_form_inherit" model="ir.ui.view">
|
||||
<field name="name">托盘二维码生成</field>
|
||||
<field name="name">托盘条形码生成</field>
|
||||
<field name="model">sf.tray</field>
|
||||
<field name="inherit_id" ref="sf_base.sf_tray_form"/>
|
||||
<field name="arch" type="xml">
|
||||
|
||||
|
||||
|
||||
<xpath expr="//group[@name='group1']" position="after">
|
||||
<notebook>
|
||||
<page string="生成二维码">
|
||||
|
||||
<field name = 'qr_image' widget="image" />
|
||||
<field name = 'production_id' default="production_id.name" />
|
||||
<field name = 'workorder_id' default="workorder_id.name"/>
|
||||
|
||||
|
||||
</page>
|
||||
</notebook>
|
||||
|
||||
</xpath>
|
||||
|
||||
<xpath expr="//group[@name='group1']" position="after">
|
||||
<notebook>
|
||||
<page string="生成条形码">
|
||||
<field name='qr_image' widget="image"/>
|
||||
<field name='production_id' default="production_id.name"/>
|
||||
</page>
|
||||
</notebook>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
</data>
|
||||
|
||||
Reference in New Issue
Block a user