-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathis_mrp_view.xml
executable file
·41 lines (33 loc) · 1.64 KB
/
is_mrp_view.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<record id="is_ems_bsa_of_etiquette_inherit_view" model="ir.ui.view">
<field name="name">is.bsa.of.etiquette.inherit.view</field>
<field name="model">mrp.production</field>
<field name="inherit_id" ref="mrp.mrp_production_form_view" />
<field name="arch" type="xml">
<xpath expr="//button[@name='action_cancel']" position="after">
<button name="%(action_is_imprimer_etiquette_mrp)d"
string="Créer et imprimer les étiquette"
groups="base.group_user" type="action" class="oe_highlight"
attrs="{'invisible': ['|',('generer_etiquette','=', True),('state','=', 'draft')]}"
/>
</xpath>
<xpath expr="//page[@string='Scheduled Products']" position="after">
<page string="Etiquettes">
<field name="etiquette_ids">
<tree string="Etiquettes" >
<field name="name" />
<field name="fabrique" />
<field name="sale_id"/>
<field name="move_id"/>
</tree>
</field>
<field name="generer_etiquette" invisible="0" />
<field name="is_gestion_lot" invisible="0" />
</page>
</xpath>
</field>
</record>
</data>
</openerp>