~unifield-team/unifield-wm/us-826

« back to all changes in this revision

Viewing changes to sale_override/sale_view.xml

  • Committer: Olivier DOSSMANN
  • Date: 2013-05-31 14:22:09 UTC
  • mto: This revision was merged to the branch mainline in revision 1687.
  • Revision ID: od@tempo-consulting.fr-20130531142209-sbcwvzuema11guzz
UF-1991 [FIX] Problem with wizard on "msg" field. Change it to "name".

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="utf-8" ?>
 
2
<openerp>
 
3
    <data>
 
4
    
 
5
        <record id="sale_order_type_form_view" model="ir.ui.view">
 
6
            <field name="name">sale.order.type.form.view</field>
 
7
            <field name="model">sale.order</field>
 
8
            <field name="type">form</field>
 
9
            <field name="inherit_id" ref="sale.view_order_form" />
 
10
            <field name="arch" type="xml">
 
11
                <data>
 
12
                    <xpath expr="/form/group//field[@name='shop_id']" position="replace">
 
13
                        <field name="warehouse_id" required="1" />
 
14
                    </xpath>
 
15
                    
 
16
                    <xpath expr="/form//field[@name='name']" position="replace">
 
17
                        <field name="name" required="1" />
 
18
                    </xpath>
 
19
                    <!-- UF-1846: we hide the product_uos_qty and product_uos that were displayed after the user right installation -->
 
20
                    <xpath expr="/form//field[@name='order_line']/form//field[@name='product_uos_qty']" position="attributes">
 
21
                         <attribute name="invisible">1</attribute>
 
22
                    </xpath>
 
23
                    <xpath expr="/form//field[@name='order_line']/form//field[@name='product_uos']" position="attributes">
 
24
                         <attribute name="invisible">1</attribute>
 
25
                    </xpath>
 
26
 
 
27
                    <!-- uf-1499
 
28
                    <xpath expr="/form/group//field[@name='invoiced']" position="attributes">
 
29
                         <attribute name="string">Invoiced</attribute>
 
30
                         <attribute name="attrs">{'invisible': [('intl_customer_ok', '=', False)]}</attribute>
 
31
                    </xpath>
 
32
                     -->
 
33
 
 
34
                    <xpath expr="/form/notebook//page[@string='Sales Order']//field[@name='order_line']/form/notebook//field[@name='product_id']" position="attributes">
 
35
                         <attribute name="domain">[('sale_ok', '=', True), ('purchase_type', '=', parent.categ)]</attribute>
 
36
                    </xpath>
 
37
 
 
38
                    <xpath expr="/form/group//field[@name='invoiced']" position="attributes">
 
39
                         <attribute name="string">Invoiced</attribute>
 
40
                         <attribute name="invisible">1</attribute>
 
41
                    </xpath>
 
42
 
 
43
                    <xpath expr="/form/notebook//page[@string='Sales Order']//field[@name='order_line']/form/notebook//page[@string='Extra Info']" position="replace">
 
44
                    </xpath>
 
45
                    <xpath expr="/form/notebook//page[@string='Sales Order']//field[@name='order_line']/form/notebook//page[@string='History']" position="replace">
 
46
                    </xpath>
 
47
 
 
48
                    <xpath expr="/form/group/field[@name='client_order_ref']" position="attributes">
 
49
                        <attribute name="attrs">{'readonly': ['|', ('partner_type', 'not in', ['external', 'esc']), ('state', 'not in', ['draft', 'validated'])]}</attribute>
 
50
                    </xpath>
 
51
 
 
52
                    <xpath expr="/form//field[@name='partner_id']" position="replace">
 
53
                        <field name="company_id2" invisible="1" />
 
54
                        <field name="partner_id" on_change="onchange_partner_id(partner_id, order_type)" context="{'search_default_customer':1}" required="1" domain="[('customer','=',True), ('id', '!=', company_id2), ('check_partner_so', '=', {'order_type':order_type, 'partner_id': partner_id})]"/>
 
55
                    </xpath>
 
56
                    <xpath expr="/form/group/field[@name='shipped']" position="after">
 
57
                        <!-- <field name="order_type" on_change="shipping_policy_change(order_policy, order_type, partner_id, 'order_type')" /> -->
 
58
                        <field name="order_type" />
 
59
                        <field name="priority" />
 
60
                        <field name="categ" on_change="onchange_categ(categ)" />
 
61
                        <field name="loan_duration" attrs="{'invisible': [('order_type', '!=', 'loan')], 'required': [('order_type', '=', 'loan')]}" />
 
62
                        <field name="details" />
 
63
                        <field name="noinvoice" invisible="1" />
 
64
                    </xpath>
 
65
                    <xpath expr="/form/notebook/page[@string='Other Information']/group/field[@name='order_policy']" position="replace">
 
66
                        <field name="order_policy" on_change="shipping_policy_change(order_policy)"/>
 
67
                    </xpath>
 
68
                    <xpath expr="/form/notebook/page[@string='Other Information']/group/field[@name='invoice_quantity']" position="replace">
 
69
                        <field name="invoice_quantity" readonly="1" />
 
70
                    </xpath>
 
71
                    <button name="manual_invoice" position="replace">
 
72
                        <group colspan="1" col="1" attrs="{'invisible': [('noinvoice', '=', True)]}">
 
73
                            <button name="manual_invoice" states="manual" string="Create Final Invoice" icon="gtk-go-forward" type="object"/>   
 
74
                        </group>
 
75
                    </button>
 
76
 
 
77
                    <xpath expr="/form/notebook//page[@string='Other Information']/group//field[@name='picking_policy']" position="attributes">
 
78
                         <attribute name="invisible">1</attribute>
 
79
                    </xpath>
 
80
 
 
81
                    <xpath expr="/form/notebook//page[@string='History']" position="replace">
 
82
                        <page string="History" attrs="{'invisible': [( 'intl_customer_ok', '=', False )]}">
 
83
                            <separator colspan="4" string="Invoices"/>
 
84
                            <field colspan="4" name="invoice_ids" nolabel="1" context="{'form_view_ref':'account.invoice_form'}"/>
 
85
                        </page>
 
86
                    </xpath>
 
87
 
 
88
                    <!-- <xpath expr="/form/notebook/page[@string='Other Information']/group/field[@name='order_policy']" position="replace">
 
89
                        <field name="order_policy" on_change="shipping_policy_change(order_policy, order_type, partner_id, 'order_policy')"/>
 
90
                    </xpath> -->
 
91
                    <xpath expr="/form/notebook//tree/field[@name='price_subtotal']" position="after">
 
92
                        <field name="state" invisible="1" />
 
93
                        <button string="Split line" icon="terp-stock_effects-object-colorize" 
 
94
                                name="open_split_wizard" type="object" 
 
95
                                attrs="{'invisible': [('state', 'in', ('sourced', 'confirmed', 'done', 'cancel', 'exception'))]}" />
 
96
                    </xpath>
 
97
 
 
98
                    <xpath expr="/form/notebook//field[@name='incoterm']" position="attributes">
 
99
                        <attribute name="attrs">{'readonly': [('state', '!=', 'state')], 'invisible': [('intl_customer_ok', '=', False)]  }</attribute>
 
100
 
 
101
                    </xpath>
 
102
                    <xpath expr="/form/notebook//field[@name='user_id']" position="attributes">
 
103
                        <attribute name="attrs">{'readonly': [('state', '!=', 'state')]}</attribute>
 
104
                    </xpath>
 
105
                    <xpath expr="/form/notebook//field[@name='origin']" position="attributes">
 
106
                        <attribute name="attrs">{'readonly': [('state', '!=', 'state')]}</attribute>
 
107
                    </xpath>
 
108
                    <xpath expr="/form/notebook//field[@name='payment_term']" position="attributes">
 
109
                        <attribute name="attrs">{'readonly': [('state', '!=', 'state')]}</attribute>
 
110
                        <attribute name="invisible">1</attribute>
 
111
                    </xpath>
 
112
                    <xpath expr="/form/notebook//field[@name='fiscal_position']" position="attributes">
 
113
                        <attribute name="attrs">{'readonly': [('state', '!=', 'state')]}</attribute>
 
114
                    </xpath>
 
115
                    <xpath expr="//field[@name='create_date']" position="replace" />
 
116
                    <xpath expr="//field[@name='date_confirm']" position="replace" />
 
117
                    <xpath expr="//page[2]//separator[@string='Dates']" position="replace" />
 
118
                </data>
 
119
            </field>
 
120
        </record>
 
121
        
 
122
        <record id="sale_order_type_tree_view" model="ir.ui.view">
 
123
            <field name="name">sale.order.type.tree.view</field>
 
124
            <field name="model">sale.order</field>
 
125
            <field name="type">tree</field>
 
126
            <field name="inherit_id" ref="sale.view_order_tree" />
 
127
            <field name="arch" type="xml">
 
128
                <data>
 
129
                    <xpath expr="/tree/field[@name='date_order']" position="before">
 
130
                        <field name="order_type" />
 
131
                        <field name="priority" />
 
132
                        <field name="categ" />
 
133
                    </xpath>
 
134
                    <xpath expr="/tree/field[@name='amount_untaxed']" position="replace" />
 
135
                    <xpath expr="/tree/field[@name='amount_total']" position="after">
 
136
                        <field name="currency_id" />
 
137
                    </xpath>
 
138
                    <xpath expr="/tree/field[@name='state']" position="replace">
 
139
                        <field name="state" invisible="True" />
 
140
                        <field name="state_hidden_sale_order" />
 
141
                    </xpath>
 
142
                </data>
 
143
            </field>
 
144
        </record>
 
145
        
 
146
        <record id="sale_order_type_search_view" model="ir.ui.view">
 
147
            <field name="name">sale.order.type.search.view</field>
 
148
            <field name="model">sale.order</field>
 
149
            <field name="type">search</field>
 
150
            <field name="inherit_id" ref="sale.view_sales_order_filter" />
 
151
            <field name="arch" type="xml">
 
152
                <data>
 
153
                    <xpath expr="/search//filter[@string='Quotations']" position="replace">
 
154
                        <filter icon="terp-document-new" string="Draft" domain="[('state','=','draft')]" help="Field Order that haven't yet been confirmed" />
 
155
                        <filter icon="terp-camera_test" string="Validated" domain="[('state','=','validated')]" help="Field Order validated"/>
 
156
                        <filter icon="gtk-paste-v" name="sourced" string="Sourced" domain="[('state','=','sourced')]" separator="1" />
 
157
                    </xpath>
 
158
                    <xpath expr="/search//filter[@string='Sales']" position="replace">
 
159
                        <filter icon="terp-check" string="Confirmed" domain="[('state','in',('manual','progress'))]"/>
 
160
                        <filter icon="terp-dialog-close" name="done" string="Closed" domain="[('state_hidden_sale_order','=','done')]"/>
 
161
                    </xpath>
 
162
 
 
163
                    <xpath expr="/search//filter[@string='To Invoice']" position="after">
 
164
                        <separator orientation="vertical" />
 
165
                        <filter icon="gtk-missing-image" name="inactive" string="Show Split" domain="[('state','=','done'), ('split_type_sale_order', '=', 'original_sale_order')]" context="{'active_test': False}" separator="1" />
 
166
                    </xpath>
 
167
 
 
168
                    <xpath expr="/search/field[@name='name']" position="after">
 
169
                        <field name="client_order_ref" />
 
170
                    </xpath>
 
171
                    <xpath expr="/search/field[@name='user_id']" position="after">
 
172
                        <newline />
 
173
                        <group string="Type" expand="0">
 
174
                            <filter icon="terp-check" string="Regular" domain="[('order_type','=','regular')]"/>
 
175
                            <filter icon="terp-stage" string="Donation before expiry" domain="[('order_type','=','donation_exp')]"/>
 
176
                            <filter icon="terp-gtk-jump-to-ltr" string="Standard Donation" domain="[('order_type','=','donation_st')]"/>
 
177
                            <filter icon="terp-partner" string="Loan" domain="[('order_type','=','loan')]"/>
 
178
                        </group>
 
179
                        <newline />
 
180
                        <group string="Priority" expand="0">
 
181
                                <filter icon="gtk-dialog-warning" string="Emergency" domain="[('priority','=','emergency')]"/>
 
182
                                <filter icon="gtk-yes" string="Normal" domain="[('priority','=','normal')]"/>
 
183
                                <filter icon="gtk-info" string="Priority" domain="[('priority','=','priority')]"/>
 
184
                        </group>
 
185
                        <newline />
 
186
                        <group string="Category" expand="0">
 
187
                            <filter icon="gtk-color-picker" string="Medical" domain="[('categ','=','medical')]"/>
 
188
                            <filter icon="terp-stock" string="Logistic" domain="[('categ','=','log')]"/>
 
189
                            <filter icon="terp-purchase" string="Service" domain="[('categ','=','service')]"/>
 
190
                            <filter icon="gtk-network" string="Other" domain="[('categ','=','other')]"/>
 
191
                        </group>
 
192
                        <newline />
 
193
                    </xpath>
 
194
                    <xpath expr="/search/group/filter[@string='Customer']" position="before">
 
195
                        <filter string="Order Type" icon="terp-rating-rated" domain="[]" context="{'group_by':'order_type'}"/>
 
196
                        <separator orientation="vertical"/>
 
197
                        <filter string="Priority" icon="terp-project" domain="[]" context="{'group_by':'priority'}"/>
 
198
                        <separator orientation="vertical"/>
 
199
                        <filter string="Category" icon="terp-translate" domain="[]" context="{'group_by':'categ'}"/>
 
200
                        <separator orientation="vertical"/>
 
201
                    </xpath>
 
202
                </data>
 
203
            </field>
 
204
        </record>
 
205
 
 
206
        <!-- REWORK THE SALE MENU ACCORDING TO UF-657 ERGONOMIC IMPROVEMENTS -->
 
207
        <!-- MOVED THIS BLOCK TO hidden_menu.xml === DO NOT HARD DELETE MenuItem -->
 
208
        
 
209
        <!-- 
 
210
        
 
211
        <delete id="base.menu_partner_address_form" model="ir.ui.menu" />
 
212
        <delete id="base.menu_address_book" model="ir.ui.menu" />
 
213
        <delete id="sale.menu_invoiced" model="ir.ui.menu" />
 
214
        <delete id="sale.menu_action_picking_list_to_invoice" model="ir.ui.menu" />
 
215
        <delete id="sale.menu_invoicing_sales_order_lines" model="ir.ui.menu" />
 
216
 
 
217
                -->
 
218
                
 
219
        <menuitem action="sale.action_order_form" id="sale.menu_sale_order" parent="base.menu_sales" sequence="1" />
 
220
 
 
221
        <menuitem action="base.action_partner_form"
 
222
                  id="base.menu_partner_form"
 
223
                  parent="base.menu_sales"
 
224
                  sequence="4" />
 
225
 
 
226
        <menuitem id="base.menu_base_partner" sequence="3" />
 
227
 
 
228
        <!-- Deliver Products -->
 
229
        <!--<menuitem id="menu_sales_deliver_products"
 
230
                  name="Deliver Products"
 
231
                  sequence="3"
 
232
                  parent="stock.menu_stock_root" />
 
233
 
 
234
        <menuitem action="stock.action_out_picking_move" id="menu_sale_action_picking_tree_out_move"
 
235
                  parent="menu_sales_deliver_products" sequence="10"/>-->
 
236
 
 
237
        <!-- Products -->
 
238
        <!--<menuitem action="product.product_category_action"
 
239
                  id="product.menu_products_category"
 
240
                  parent="base.menu_product"
 
241
                  sequence="5" />-->
 
242
 
 
243
        <record id="view_order_line_to_correct_form" model="ir.ui.view">
 
244
            <field name="name">sale.order.line.to.correct.form</field>
 
245
            <field name="model">sale.order.line</field>
 
246
            <field name="type">form</field>
 
247
            <field name="arch" type="xml">
 
248
            <form>
 
249
                  <notebook>
 
250
                      <page string="Order Line">
 
251
                         <field name="product_id" colspan="4" on_change="requested_product_id_change(product_id, comment)" />
 
252
                         <field name="product_uom_qty" />
 
253
                         <field name="product_uom" on_change="onchange_uom(product_id, product_uom)"/>
 
254
                         <field name="price_unit" invisible="1"/>
 
255
                         <field name="currency_id" />
 
256
                         <field name="date_planned" />
 
257
                         <field name="type" on_change="requested_type_change(product_id, type)"/>
 
258
                         <field name="my_company_id" invisible="1" />
 
259
                         <field name="supplier"
 
260
                                context="{'product_id': product_id, 'choose_supplier': True}"
 
261
                                attrs="{'readonly': [('type', '=', 'make_to_stock')]}"
 
262
                                domain="[('supplier', '=', True), ('id', '!=', my_company_id), ('check_partner_ir', '=', True)]"
 
263
                             />
 
264
                         <newline />
 
265
                         <field name="state"/>
 
266
                     </page>
 
267
 
 
268
                      <!-- EXACT COPY-PASTE FROM product_nomenclature_view.xml -->
 
269
                      <page string="Nomenclature Selection">
 
270
                      
 
271
                          <group colspan="4" col="2">
 
272
                              
 
273
                              <field name="nomenclature_code" colspan="2" invisible="True" />
 
274
                              <field name="nomenclature_description" colspan="2" readonly="True" />
 
275
                              <field name="comment" colspan="2" 
 
276
                              on_change="comment_change(comment,product_id,nomen_manda_0)"
 
277
                              attrs="{'required':[('product_id', '=', False)]}" />
 
278
                          
 
279
                          </group>
 
280
                          <newline />
 
281
 
 
282
                          <group colspan="2" col="5">
 
283
                              <separator string="Mandatory Levels" colspan="5" />
 
284
 
 
285
                              <group colspan="4" col="2">
 
286
                                  <field name="nomen_manda_0"
 
287
                                      domain="[('level', '=', '0'), ('type', '=', 'mandatory')]"
 
288
                                      widget="selection"
 
289
                                      on_change="onChangeSearchNomenclature(0, 'mandatory', nomen_manda_0, nomen_manda_1, nomen_manda_2, nomen_manda_3, False)"
 
290
                                      attrs="{'required':[('product_id', '=', False)], 'readonly':[('product_id', '!=', False)]}" 
 
291
                                  />
 
292
                                  <field name="nomen_manda_1"
 
293
                                      domain="[('level', '=', '1'), ('type', '=', 'mandatory')]"
 
294
                                      widget="selection"
 
295
                                      get_selection="get_nomen"
 
296
                                      on_change="onChangeSearchNomenclature(1, 'mandatory', nomen_manda_0, nomen_manda_1, nomen_manda_2, nomen_manda_3, False)"
 
297
                                      attrs="{'required':[('product_id', '=', False)], 'readonly':[('product_id', '!=', False)]}" 
 
298
                                  />
 
299
                                  <field name="nomen_manda_2"
 
300
                                      domain="[('level', '=', '2'), ('type', '=', 'mandatory')]"
 
301
                                      widget="selection"
 
302
                                      get_selection="get_nomen"
 
303
                                      on_change="onChangeSearchNomenclature(2, 'mandatory', nomen_manda_0, nomen_manda_1, nomen_manda_2, nomen_manda_3, False)"
 
304
                                      attrs="{'required':[('product_id', '=', False)], 'readonly':[('product_id', '!=', False)]}" 
 
305
                                  />
 
306
                                  <field name="nomen_manda_3"
 
307
                                      domain="[('level', '=', '3'), ('type', '=', 'mandatory')]"
 
308
                                      widget="selection"
 
309
                                      get_selection="get_nomen"
 
310
                                      on_change="onChangeSearchNomenclature(3, 'mandatory', nomen_manda_0, nomen_manda_1, nomen_manda_2, nomen_manda_3, False)"
 
311
                                      attrs="{'readonly':[('product_id', '!=', False)]}" 
 
312
                                  />
 
313
                              </group>
 
314
 
 
315
                          </group>
 
316
 
 
317
                          <group colspan="2" col="5">
 
318
                              <separator string="Optional Levels" colspan="4" />
 
319
 
 
320
 
 
321
                              <group colspan="4" col="2">
 
322
                                  <field name="nomen_sub_0"
 
323
                                      domain="[('type', '=', 'optional'), ('id', 'in', [0])]"
 
324
                                      widget="selection"
 
325
                                      get_selection="get_sub_nomen"
 
326
                                      on_change="onChangeSubNom(nomen_manda_0, nomen_manda_1, nomen_manda_2, nomen_manda_3, nomen_sub_0, nomen_sub_1, nomen_sub_2, nomen_sub_3, nomen_sub_4, nomen_sub_5)"
 
327
                                      attrs="{'readonly':[('product_id', '!=', False)]}" 
 
328
                                  />
 
329
                                  <field name="nomen_sub_1"
 
330
                                      domain="[('type', '=', 'optional'), ('id', 'in', [0])]"
 
331
                                      widget="selection"
 
332
                                      get_selection="get_sub_nomen"
 
333
                                      on_change="onChangeSubNom(nomen_manda_0, nomen_manda_1, nomen_manda_2, nomen_manda_3, nomen_sub_0, nomen_sub_1, nomen_sub_2, nomen_sub_3, nomen_sub_4, nomen_sub_5)"
 
334
                                      attrs="{'readonly':[('product_id', '!=', False)]}" 
 
335
                                  />
 
336
                                  <field name="nomen_sub_2"
 
337
                                      domain="[('type', '=', 'optional'), ('id', 'in', [0])]"
 
338
                                      widget="selection"
 
339
                                      get_selection="get_sub_nomen"
 
340
                                      on_change="onChangeSubNom(nomen_manda_0, nomen_manda_1, nomen_manda_2, nomen_manda_3, nomen_sub_0, nomen_sub_1, nomen_sub_2, nomen_sub_3, nomen_sub_4, nomen_sub_5)"
 
341
                                      attrs="{'readonly':[('product_id', '!=', False)]}" 
 
342
                                  />
 
343
                                  <field name="nomen_sub_3"
 
344
                                      domain="[('type', '=', 'optional'), ('id', 'in', [0])]"
 
345
                                      widget="selection"
 
346
                                      get_selection="get_sub_nomen"
 
347
                                      on_change="onChangeSubNom(nomen_manda_0, nomen_manda_1, nomen_manda_2, nomen_manda_3, nomen_sub_0, nomen_sub_1, nomen_sub_2, nomen_sub_3, nomen_sub_4, nomen_sub_5)"
 
348
                                      attrs="{'readonly':[('product_id', '!=', False)]}" 
 
349
                                  />
 
350
                                  <field name="nomen_sub_4"
 
351
                                      domain="[('type', '=', 'optional'), ('id', 'in', [0])]"
 
352
                                      widget="selection"
 
353
                                      get_selection="get_sub_nomen"
 
354
                                      on_change="onChangeSubNom(nomen_manda_0, nomen_manda_1, nomen_manda_2, nomen_manda_3, nomen_sub_0, nomen_sub_1, nomen_sub_2, nomen_sub_3, nomen_sub_4, nomen_sub_5)"
 
355
                                      attrs="{'readonly':[('product_id', '!=', False)]}" 
 
356
                                  />
 
357
                                  <field name="nomen_sub_5"
 
358
                                      domain="[('type', '=', 'optional'), ('id', 'in', [0])]"
 
359
                                      widget="selection"
 
360
                                      get_selection="get_sub_nomen"
 
361
                                      on_change="onChangeSubNom(nomen_manda_0, nomen_manda_1, nomen_manda_2, nomen_manda_3, nomen_sub_0, nomen_sub_1, nomen_sub_2, nomen_sub_3, nomen_sub_4, nomen_sub_5)"
 
362
                                      attrs="{'readonly':[('product_id', '!=', False)]}" 
 
363
                                  />
 
364
                              </group>
 
365
 
 
366
                          </group>
 
367
                      </page>
 
368
                      <!-- END COPY -->
 
369
 
 
370
                  </notebook>
 
371
                  
 
372
                  <newline/>
 
373
                  <field name="to_correct_ok" readonly="1" invisible="1"/>
 
374
                  <field name="show_msg_ok" readonly="1" invisible="1"/>
 
375
                  <field name="text_error" 
 
376
                  nolabel="1" 
 
377
                  readonly="1" 
 
378
                  colspan="3" 
 
379
                  attrs="{'invisible': [('to_correct_ok', '=', False), '|', ('show_msg_ok', '!=',True)]}"/>
 
380
                  <newline/>
 
381
                  <button 
 
382
                  name="save_and_close" 
 
383
                  string="Save and Close"
 
384
                  type="object" 
 
385
                  icon="gtk-close" />
 
386
              </form>
 
387
            </field>
 
388
        </record>
 
389
              
 
390
        <record id="view_compute_schedulers_wizard_replace" model="ir.ui.view">
 
391
            <field name="name">Compute Schedulers</field>
 
392
            <field name="model">procurement.order.compute.all</field>
 
393
            <field name="type">form</field>
 
394
            <field name="inherit_id" ref="procurement.view_compute_schedulers_wizard" />
 
395
            <field name="arch" type="xml">
 
396
                <data>
 
397
                    <xpath expr="/form" position="replace">
 
398
                    <form>
 
399
                    <label string="This wizard allows you to run all procurement, production and/or purchase orders that should be processed based on their configuration. By default, the scheduler is launched automatically every night by OpenERP. You can use this menu to force it to be launched now. Note that it runs in the background, you may have to wait for a few minutes until it has finished computing." colspan="4"/>
 
400
                                    <separator colspan="4"/>
 
401
                                    <group col="2" colspan="4">
 
402
                                <button icon='gtk-cancel' special="cancel"
 
403
                                        string="Cancel" />
 
404
                                <button name="procure_calculation" string="Compute POs Creation"
 
405
                                        colspan="1" type="object" icon="gtk-ok" />
 
406
                        </group>
 
407
                    </form>
 
408
                    </xpath>
 
409
 
 
410
                </data>
 
411
            </field>
 
412
        </record>
 
413
 
 
414
 
 
415
<!--        <delete id="base.menu_country_partner" model="ir.ui.menu" />
 
416
            used in useability_dashboard_and_menu/menu/supply_config_menu.xml
 
417
-->
 
418
 
 
419
        <menuitem id="menu_localisation" name="Localisation" parent="base.menu_administration" sequence="1"/>
 
420
        <menuitem action="base.action_country" id="menu_country_partner" parent="menu_localisation" sequence="0"/>
 
421
        <menuitem action="base.action_country_state" id="menu_country_state_partner" parent="menu_localisation" sequence="1"/>
 
422
 
 
423
<!--        <delete id="base.menu_partner_title_partner" model="ir.ui.menu" />
 
424
            used in useability_dashboard_and_menu/menu/supply_config_menu.xml
 
425
-->
 
426
 
 
427
 
 
428
<!--        <delete id="base.menu_partner_title_contact" model="ir.ui.menu" />
 
429
            <delete id="base.menu_action_res_bank_form" model="ir.ui.menu" />
 
430
            used in useability_dashboard_and_menu/menu/supply_config_menu.xml
 
431
-->
 
432
 
 
433
 
 
434
 
 
435
 
 
436
    </data>
 
437
</openerp>