Merge lp:~openerp-dev/openobject-addons/trunk-improve-formviews-tpa into lp:openobject-addons

Proposed by Turkesh Patel (openERP)
Status: Needs review
Proposed branch: lp:~openerp-dev/openobject-addons/trunk-improve-formviews-tpa
Merge into: lp:openobject-addons
Diff against target: 944 lines (+332/-365)
14 files modified
account/account_view.xml (+16/-18)
crm/crm_view.xml (+3/-3)
crm_profiling/crm_profiling_view.xml (+29/-34)
fleet/fleet_view.xml (+39/-43)
hr_holidays/hr_holidays_view.xml (+12/-14)
hr_payroll/hr_payroll_view.xml (+1/-1)
hr_recruitment/hr_recruitment_view.xml (+0/-6)
lunch/lunch_view.xml (+38/-45)
membership/membership_view.xml (+31/-33)
mrp/mrp_view.xml (+78/-75)
point_of_sale/point_of_sale_view.xml (+41/-43)
procurement/procurement_view.xml (+26/-28)
product/product_view.xml (+11/-13)
resource/resource_view.xml (+7/-9)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/trunk-improve-formviews-tpa
Reviewer Review Type Date Requested Status
OpenERP Core Team Pending
Review via email: mp+217231@code.launchpad.net

Description of the change

[IMP] remove sheet from the forms which are used for configuration
[IMP] improved some ugly form views

To post a comment you must log in.
8843. By Turkesh Patel (openERP)

[IMP] removed conflict files

8844. By Turkesh Patel (openERP)

[MRG] merge with lp:openobject-addons

Unmerged revisions

8844. By Turkesh Patel (openERP)

[MRG] merge with lp:openobject-addons

8843. By Turkesh Patel (openERP)

[IMP] removed conflict files

8842. By Turkesh Patel (openERP)

[MRG] merge with lp:openobject-addons

8841. By Turkesh Patel (openERP)

[MRG] merge with lp:openobject-addons

8840. By Turkesh Patel (openERP)

[MRG] merge with lp:openobject-addons

8839. By Turkesh Patel (openERP)

[MRG] merge with lp:openobject-addons

8838. By Turkesh Patel (openERP)

[MRG] merge with lp:openobject-addons

8837. By Turkesh Patel (openERP)

[IMP] improved place holders

8836. By Turkesh Patel (openERP)

[MRG] merge with lp:openobject-addons

8835. By Turkesh Patel (openERP)

[MRG] remove sheet from configuration form views lp:~openerp-dev/openobject-addons/trunk-improve-configuration-formviews-cod

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'account/account_view.xml'
--- account/account_view.xml 2014-05-02 13:07:53 +0000
+++ account/account_view.xml 2014-05-06 12:16:18 +0000
@@ -100,24 +100,22 @@
100 <button name="action_draft" states="done" string="Re-Open Period" type="object" groups="account.group_account_manager"/>100 <button name="action_draft" states="done" string="Re-Open Period" type="object" groups="account.group_account_manager"/>
101 <field name="state" widget="statusbar" nolabel="1"/>101 <field name="state" widget="statusbar" nolabel="1"/>
102 </header>102 </header>
103 <sheet>103 <group>
104 <group>104 <group>
105 <group>105 <field name="name"/>
106 <field name="name"/>106 <field name="fiscalyear_id" widget="selection"/>
107 <field name="fiscalyear_id" widget="selection"/>107 <label for="date_start" string="Duration"/>
108 <label for="date_start" string="Duration"/>108 <div>
109 <div>109 <field name="date_start" class="oe_inline" nolabel="1"/> -
110 <field name="date_start" class="oe_inline" nolabel="1"/> -110 <field name="date_stop" nolabel="1" class="oe_inline"/>
111 <field name="date_stop" nolabel="1" class="oe_inline"/>111 </div>
112 </div>112 </group>
113 </group>113 <group>
114 <group>114 <field name="code"/>
115 <field name="code"/>115 <field name="special"/>
116 <field name="special"/>116 <field name="company_id" widget="selection" groups="base.group_multi_company"/>
117 <field name="company_id" widget="selection" groups="base.group_multi_company"/>117 </group>
118 </group>118 </group>
119 </group>
120 </sheet>
121 </form>119 </form>
122 </field>120 </field>
123 </record>121 </record>
124122
=== modified file 'crm/crm_view.xml'
--- crm/crm_view.xml 2013-12-10 09:33:07 +0000
+++ crm/crm_view.xml 2014-05-06 12:16:18 +0000
@@ -258,14 +258,14 @@
258 <field name="exclusif"/>258 <field name="exclusif"/>
259 </group>259 </group>
260 <notebook>260 <notebook>
261 <page string="Sales Purchase">261 <page string="Sales Purchase" name="sale_purchase">
262 <group>262 <group>
263 <field name="sales_purchase_active"/>263 <field name="sales_purchase_active"/>
264 </group>264 </group>
265 <separator string="Segmentation Test"/>265 <separator string="Segmentation Test Criteria"/>
266 <field name="segmentation_line" widget="one2many_list"/>266 <field name="segmentation_line" widget="one2many_list"/>
267 </page>267 </page>
268 <page string="Description">268 <page string="Description" name="description">
269 <field name="description"/>269 <field name="description"/>
270 </page>270 </page>
271 </notebook>271 </notebook>
272272
=== modified file 'crm_profiling/crm_profiling_view.xml'
--- crm_profiling/crm_profiling_view.xml 2012-11-29 22:26:45 +0000
+++ crm_profiling/crm_profiling_view.xml 2014-05-06 12:16:18 +0000
@@ -137,47 +137,42 @@
137137
138<!-- CRM Segmentation Form view -->138<!-- CRM Segmentation Form view -->
139139
140 <record model="ir.ui.view" id="crm.crm_segmentation-view">140 <record model="ir.ui.view" id="crm_segmentation_profiling_view">
141 <field name="name">crm.segmentation.form</field>141 <field name="name">crm.segmentation.form</field>
142 <field name="model">crm.segmentation</field>142 <field name="model">crm.segmentation</field>
143 <field name="inherit_id" ref="crm.crm_segmentation-view"/>
143 <field name="arch" type="xml">144 <field name="arch" type="xml">
144 <form string="Partner Segmentation">145 <page name="sale_purchase" position="before">
145 <notebook>
146 <page string="Segmentation">146 <page string="Segmentation">
147 <separator string="Segmentation Description" colspan="4"/>147 <group col="4">
148 <field name="name"/>148 <field name="name"/>
149 <field name="exclusif"/>149 <field name="exclusif"/>
150 <newline/>150 <field name="categ_id"/>
151 <field name="categ_id" colspan="2"/>
152 <newline/>
153 <field name="description" colspan="4"/>
154 <field name="state"/>
155 <group col="3" colspan="2">
156 <button name="process_start"
157 states="not running" string="Compute Segmentation" type="object"
158 icon="gtk-apply" />
159 <button name="process_stop" states="running"
160 string="Stop Process" type="object" icon="gtk-stop" />
161 <button name="process_continue" states="running"
162 string="Continue Process" type="object" icon="gtk-go-forward" />
163 </group>151 </group>
164 </page>152 <separator string="Segmentation Description"/>
165 <page string="Sales Purchase">153 <field name="description" nolabel="1"/>
166 <field name="sales_purchase_active"/>154 </page>
167 <separator string="Segmentation Test" colspan="4"/>155 </page>
168 <field name="segmentation_line" widget="one2many_list" colspan="4"/>156 <page name="description" position="replace">
169 </page>
170 <page string="Profiling">157 <page string="Profiling">
171 <field name="profiling_active" colspan="2"/>158 <group>
172 <separator string="Profiling Options" colspan="4"/>159 <group>
173 <field name="parent_id" colspan="2"/><newline/>160 <field name="profiling_active"/>
174 <separator string="Included Answers :" colspan="2" />161 <separator string="Profiling Options" colspan="4"/>
175 <separator string="Excluded Answers :" colspan="2"/>162 <field name="parent_id"/>
176 <field name="answer_yes" nolabel="1" colspan="2"/>163 </group>
177 <field name="answer_no" nolabel="1" colspan="2"/>164 <newline/>
165 <group>
166 <separator string="Included Answers"/>
167 <field name="answer_yes" nolabel="1" colspan="2"/>
168 </group>
169 <group>
170 <separator string="Excluded Answers"/>
171 <field name="answer_no" nolabel="1" colspan="2"/>
172 </group>
173 </group>
178 </page>174 </page>
179 </notebook>175 </page>
180 </form>
181 </field>176 </field>
182 </record>177 </record>
183178
184179
=== modified file 'fleet/fleet_view.xml'
--- fleet/fleet_view.xml 2014-03-28 13:30:51 +0000
+++ fleet/fleet_view.xml 2014-05-06 12:16:18 +0000
@@ -6,40 +6,38 @@
6 <field name="model">fleet.vehicle.model</field>6 <field name="model">fleet.vehicle.model</field>
7 <field name="arch" type="xml">7 <field name="arch" type="xml">
8 <form string="Model" version="7.0">8 <form string="Model" version="7.0">
9 <sheet>9 <field name="image_medium" widget='image' class="oe_left oe_avatar"/>
10 <field name="image_medium" widget='image' class="oe_left oe_avatar"/>10 <div class="oe_title">
11 <div class="oe_title">11 <label for="modelname" class="oe_edit_only"/>
12 <label for="modelname" class="oe_edit_only"/>12 <h1>
13 <h1>13 <field name="modelname" />
14 <field name="modelname" />14 </h1>
15 </h1>15 <label for="brand_id" class="oe_edit_only"/>
16 <label for="brand_id" class="oe_edit_only"/>16 <h2>
17 <h2>17 <field name="brand_id" on_change="on_change_brand(brand_id)"/>
18 <field name="brand_id" on_change="on_change_brand(brand_id)"/>18 </h2>
19 </h2>19 </div>
20 </div>20 <notebook>
21 <notebook>21 <page string="Vendors">
22 <page string="Vendors">22 <field name="vendors" widget="many2many_kanban">
23 <field name="vendors" widget="many2many_kanban">23 <kanban quick_create="false" create="true">
24 <kanban quick_create="false" create="true">24 <field name="name"/>
25 <field name="name"/>25 <templates>
26 <templates>26 <t t-name="kanban-box">
27 <t t-name="kanban-box">27 <div style="position: relative">
28 <div style="position: relative">28 <a t-if="! read_only_mode" type="delete" style="position: absolute; right: 0; padding: 4px; diplay: inline-block">X</a>
29 <a t-if="! read_only_mode" type="delete" style="position: absolute; right: 0; padding: 4px; diplay: inline-block">X</a>29 <div class="oe_module_vignette">
30 <div class="oe_module_vignette">30 <div class="oe_module_desc">
31 <div class="oe_module_desc">31 <field name="name"/>
32 <field name="name"/>
33 </div>
34 </div>32 </div>
35 </div>33 </div>
36 </t>34 </div>
37 </templates>35 </t>
38 </kanban>36 </templates>
39 </field>37 </kanban>
40 </page>38 </field>
41 </notebook>39 </page>
42 </sheet>40 </notebook>
43 </form>41 </form>
44 </field>42 </field>
45 </record>43 </record>
@@ -98,17 +96,15 @@
98 <field name="model">fleet.vehicle.model.brand</field>96 <field name="model">fleet.vehicle.model.brand</field>
99 <field name="arch" type="xml">97 <field name="arch" type="xml">
100 <form string="Model Brand" version="7.0">98 <form string="Model Brand" version="7.0">
101 <sheet>99 <group>
102 <group>100 <div>
103 <div>101 <field name="image_medium" widget="image" class="oe_left oe_avatar"/>
104 <field name="image_medium" widget="image" class="oe_left oe_avatar"/>102 <label for="name" class="oe_edit_only"/>
105 <label for="name" class="oe_edit_only"/>103 <h1>
106 <h1>104 <field name="name" class="oe_inline" />
107 <field name="name" class="oe_inline" />105 </h1>
108 </h1>106 </div>
109 </div>107 </group>
110 </group>
111 </sheet>
112 </form>108 </form>
113 </field>109 </field>
114 </record>110 </record>
115111
=== modified file 'hr_holidays/hr_holidays_view.xml'
--- hr_holidays/hr_holidays_view.xml 2014-03-26 12:00:56 +0000
+++ hr_holidays/hr_holidays_view.xml 2014-05-06 12:16:18 +0000
@@ -342,26 +342,24 @@
342 <field name="model">hr.holidays.status</field>342 <field name="model">hr.holidays.status</field>
343 <field name="arch" type="xml">343 <field name="arch" type="xml">
344 <form string="Leave Type" version="7.0">344 <form string="Leave Type" version="7.0">
345 <sheet string="Leave Type">
346 <group col="4">345 <group col="4">
347 <field name="name"/>346 <field name="name"/>
348 <field name="categ_id"/>347 <field name="categ_id"/>
349 </group>348 </group>
350 <notebook>349 <notebook>
351 <page string="Details">350 <page string="Details">
352 <group>351 <group>
353 <group name="selection" string="Validation">352 <group name="selection" string="Validation">
354 <field name="double_validation"/>353 <field name="double_validation"/>
355 <field name="limit"/>354 <field name="limit"/>
356 </group>355 </group>
357 <group name="second" string="Misc">356 <group name="second" string="Misc">
358 <field name="color_name"/>357 <field name="color_name"/>
359 <field name="active"/>358 <field name="active"/>
360 </group>359 </group>
361 </group>360 </group>
362 </page>361 </page>
363 </notebook>362 </notebook>
364 </sheet>
365 </form>363 </form>
366 </field>364 </field>
367 </record>365 </record>
368366
=== modified file 'hr_payroll/hr_payroll_view.xml'
--- hr_payroll/hr_payroll_view.xml 2014-05-02 13:07:53 +0000
+++ hr_payroll/hr_payroll_view.xml 2014-05-06 12:16:18 +0000
@@ -408,7 +408,7 @@
408 <field name="name">hr.salary.rule.category.form</field>408 <field name="name">hr.salary.rule.category.form</field>
409 <field name="model">hr.salary.rule.category</field>409 <field name="model">hr.salary.rule.category</field>
410 <field name="arch" type="xml">410 <field name="arch" type="xml">
411 <form string="Salary Categories">411 <form string="Salary Categories" version="7.0">
412 <group col="4">412 <group col="4">
413 <field name="name"/>413 <field name="name"/>
414 <field name="code"/>414 <field name="code"/>
415415
=== modified file 'hr_recruitment/hr_recruitment_view.xml'
--- hr_recruitment/hr_recruitment_view.xml 2014-04-15 15:01:46 +0000
+++ hr_recruitment/hr_recruitment_view.xml 2014-05-06 12:16:18 +0000
@@ -541,7 +541,6 @@
541 <field name="model">hr.recruitment.stage</field>541 <field name="model">hr.recruitment.stage</field>
542 <field name="arch" type="xml">542 <field name="arch" type="xml">
543 <form string="Stage" version="7.0">543 <form string="Stage" version="7.0">
544 <sheet>
545 <group string="Stage Definition">544 <group string="Stage Definition">
546 <group>545 <group>
547 <field name="name"/>546 <field name="name"/>
@@ -555,7 +554,6 @@
555 </group>554 </group>
556 <separator string="Requirements"/>555 <separator string="Requirements"/>
557 <field name="requirements"/>556 <field name="requirements"/>
558 </sheet>
559 </form>557 </form>
560 </field>558 </field>
561 </record>559 </record>
@@ -601,12 +599,10 @@
601 <field name="model">hr.recruitment.degree</field>599 <field name="model">hr.recruitment.degree</field>
602 <field name="arch" type="xml">600 <field name="arch" type="xml">
603 <form string="Degree" version="7.0">601 <form string="Degree" version="7.0">
604 <sheet>
605 <group>602 <group>
606 <field name="name"/>603 <field name="name"/>
607 <field name="sequence" groups="base.group_no_one"/>604 <field name="sequence" groups="base.group_no_one"/>
608 </group>605 </group>
609 </sheet>
610 </form>606 </form>
611 </field>607 </field>
612 </record>608 </record>
@@ -641,11 +637,9 @@
641 <field name="model">hr.recruitment.source</field>637 <field name="model">hr.recruitment.source</field>
642 <field name="arch" type="xml">638 <field name="arch" type="xml">
643 <form string="Sources of Applicants" version="7.0">639 <form string="Sources of Applicants" version="7.0">
644 <sheet>
645 <group>640 <group>
646 <field name="name"/>641 <field name="name"/>
647 </group>642 </group>
648 </sheet>
649 </form>643 </form>
650 </field>644 </field>
651 </record>645 </record>
652646
=== modified file 'lunch/lunch_view.xml'
--- lunch/lunch_view.xml 2014-04-18 11:59:13 +0000
+++ lunch/lunch_view.xml 2014-05-06 12:16:18 +0000
@@ -293,11 +293,9 @@
293 <field name="model">lunch.product.category</field>293 <field name="model">lunch.product.category</field>
294 <field name="arch" type="xml">294 <field name="arch" type="xml">
295 <form string="Products Form" version="7.0">295 <form string="Products Form" version="7.0">
296 <sheet>
297 <group>296 <group>
298 <field name='name' string="Product Category: "/>297 <field name='name' string="Product Category: "/>
299 </group>298 </group>
300 </sheet>
301 </form>299 </form>
302 </field>300 </field>
303 </record>301 </record>
@@ -425,20 +423,18 @@
425 <form string="Products Form" version="7.0">423 <form string="Products Form" version="7.0">
426 <header>424 <header>
427 </header>425 </header>
428 <sheet>426 <group>
429 <group>427 <group>
430 <group>428 <field name='name'/>
431 <field name='name'/>429 <field name='category_id'/>
432 <field name='category_id'/>430 </group>
433 </group>431 <group>
434 <group>432 <field name='supplier'/>
435 <field name='supplier'/>433 <field name='price'/>
436 <field name='price'/>434 </group>
437 </group>435 </group>
438 </group>436 <label for='description'/>
439 <label for='description'/>437 <field name='description'/>
440 <field name='description'/>
441 </sheet>
442 </form>438 </form>
443 </field>439 </field>
444 </record>440 </record>
@@ -462,35 +458,32 @@
462 <field name="model">lunch.alert</field>458 <field name="model">lunch.alert</field>
463 <field name="arch" type="xml">459 <field name="arch" type="xml">
464 <form string="alert tree" version="7.0">460 <form string="alert tree" version="7.0">
465 <sheet>461 <group string="Schedule Date">
466 <group string="Schedule Date">462 <group>
467 <group>463 <field name="alter_type" class="oe_inline"/>
468 <field name="alter_type" class="oe_inline"/>464 <field name="specific_day" attrs="{'invisible': [('alter_type','!=','specific')], 'required':[('alter_type','=','specific')]}"/>
469 <field name="specific_day" attrs="{'invisible': [('alter_type','!=','specific')], 'required':[('alter_type','=','specific')]}"/>465 </group>
470 </group>466 </group>
471 </group>467 <group attrs="{'invisible': [('alter_type','!=','week')]}">
472 <group attrs="{'invisible': [('alter_type','!=','week')]}">468 <group>
473 <group>469 <field name="monday"/>
474 <field name="monday"/>470 <field name="tuesday"/>
475 <field name="tuesday"/>471 <field name="wednesday"/>
476 <field name="wednesday"/>472 <field name="thursday"/>
477 <field name="thursday"/>473 </group>
478 </group>474 <group>
479 <group>475 <field name="friday"/>
480 <field name="friday"/>476 <field name="saturday"/>
481 <field name="saturday"/>477 <field name="sunday"/>
482 <field name="sunday"/>478 </group>
483 </group>479 </group>
484 </group>480 <group string="Schedule Hour">
485 <group string="Schedule Hour">481 <field name='active_from' widget='float_time'/>
486 <field name='active_from' widget='float_time'/>482 <field name='active_to' widget='float_time'/>
487 <field name='active_to' widget='float_time'/>483 </group>
488 </group>484 <group string='Message'>
489 <group string='Message'>485 <field name='message' nolabel='1' placeholder="Write the message you want to display during the defined period..."/>
490 <field name='message' nolabel='1' placeholder="Write the message you want to display during the defined period..."/>486 </group>
491 </group>
492
493 </sheet>
494 </form>487 </form>
495 </field>488 </field>
496 </record>489 </record>
497490
=== modified file 'membership/membership_view.xml'
--- membership/membership_view.xml 2013-10-27 12:31:04 +0000
+++ membership/membership_view.xml 2014-05-06 12:16:18 +0000
@@ -44,39 +44,37 @@
44 <field name="model">product.product</field>44 <field name="model">product.product</field>
45 <field name="arch" type="xml">45 <field name="arch" type="xml">
46 <form string="Membership products" version="7.0">46 <form string="Membership products" version="7.0">
47 <sheet>47 <label for="name" class="oe_edit_only"/>
48 <label for="name" class="oe_edit_only"/>48 <h1>
49 <h1>49 <field name="name"/>
50 <field name="name"/>50 </h1>
51 </h1>51 <group>
52 <group>52 <group>
53 <group>53 <field name="default_code"/>
54 <field name="default_code"/>54 <field name="categ_id"/>
55 <field name="categ_id"/>55 <field name="membership" invisible="1"/>
56 <field name="membership" invisible="1"/>56 <field name="company_id"
57 <field name="company_id"57 groups="base.group_multi_company"
58 groups="base.group_multi_company"58 widget="selection"/>
59 widget="selection"/>59 <field name="active"/>
60 <field name="active"/>60 </group>
61 </group>61 <group>
62 <group>62 <label for="membership_date_from" string="Membership Duration"/>
63 <label for="membership_date_from" string="Membership Duration"/>63 <div>
64 <div>64 <field name="membership_date_from" required="1" class="oe_inline"/> -
65 <field name="membership_date_from" required="1" class="oe_inline"/> -65 <field name="membership_date_to" required="1" class="oe_inline"/>
66 <field name="membership_date_to" required="1" class="oe_inline"/>66 </div>
67 </div>67 <field name="list_price" string="Membership Fee"/>
68 <field name="list_price" string="Membership Fee"/>68 <field
69 <field69 name="property_account_income"
70 name="property_account_income"70 domain="[('type', '!=', 'view')]"/>
71 domain="[('type', '!=', 'view')]"/>71 <field name="taxes_id" widget="many2many_tags" string="Taxes"/>
72 <field name="taxes_id" widget="many2many_tags" string="Taxes"/>72 </group>
73 </group>73 </group>
74 </group>74 <label for="description"/>
75 <label for="description"/>75 <field colspan="4" name="description" placeholder="Add a description..."/>
76 <field colspan="4" name="description" placeholder="Add a description..."/>76 <label for="description_sale"/>
77 <label for="description_sale"/>77 <field colspan="4" name="description_sale" placeholder="This note will be displayed on quotations..."/>
78 <field colspan="4" name="description_sale" placeholder="This note will be displayed on quotations..."/>
79 </sheet>
80 </form>78 </form>
81 </field>79 </field>
82 </record>80 </record>
8381
=== modified file 'mrp/mrp_view.xml'
--- mrp/mrp_view.xml 2014-05-02 13:07:53 +0000
+++ mrp/mrp_view.xml 2014-05-06 12:16:18 +0000
@@ -27,10 +27,11 @@
27 <field name="model">mrp.property.group</field>27 <field name="model">mrp.property.group</field>
28 <field name="arch" type="xml">28 <field name="arch" type="xml">
29 <form string="Properties categories" version="7.0">29 <form string="Properties categories" version="7.0">
30 <label for="name"/>30 <group>
31 <field name="name"/>31 <field name="name"/>
32 <label for="description"/>32 </group>
33 <field name="description"/>33 <separator string="Description"/>
34 <field name="description" nolabel="1"/>
34 </form>35 </form>
35 </field>36 </field>
36 </record>37 </record>
@@ -84,8 +85,8 @@
84 <field name="group_id"/>85 <field name="group_id"/>
85 <field name="composition"/>86 <field name="composition"/>
86 </group>87 </group>
87 <label for="description"/>88 <separator string="Description"/>
88 <field name="description"/>89 <field name="description" nolabel="1"/>
89 </form>90 </form>
90 </field>91 </field>
91 </record>92 </record>
@@ -198,8 +199,8 @@
198 <field name="costs_general_account_id" attrs="{ 'required':['|',('costs_cycle_account_id', '=', True),('costs_hour_account_id', '=', True)]}" groups="analytic.group_analytic_accounting"/>199 <field name="costs_general_account_id" attrs="{ 'required':['|',('costs_cycle_account_id', '=', True),('costs_hour_account_id', '=', True)]}" groups="analytic.group_analytic_accounting"/>
199 </group>200 </group>
200 </group>201 </group>
201 <label for="note"/>202 <separator string="Description"/>
202 <field name="note"/>203 <field name="note" nolabel="1"/>
203 </page>204 </page>
204 </notebook>205 </notebook>
205 </form>206 </form>
@@ -345,73 +346,75 @@
345 <field name="model">mrp.bom</field>346 <field name="model">mrp.bom</field>
346 <field name="arch" type="xml">347 <field name="arch" type="xml">
347 <form string="Bill of Material" version="7.0">348 <form string="Bill of Material" version="7.0">
348 <group>349 <sheet>
349 <group>350 <group>
350 <field name="product_id" on_change="onchange_product_id(product_id, name, product_qty, context)" context="{'default_supply_method':'produce'}" class="oe_inline"/>351 <group>
351 <label for="product_qty" string="Quantity"/>352 <field name="product_id" on_change="onchange_product_id(product_id, name, product_qty, context)" context="{'default_supply_method':'produce'}" class="oe_inline"/>
352 <div>353 <label for="product_qty" string="Quantity"/>
353 <field name="product_qty" class="oe_inline" on_change="onchange_product_id(product_id, name, product_qty, context)"/>354 <div>
354 <field name="product_uom" class="oe_inline" on_change="onchange_uom(product_id, product_uom)" groups="product.group_uom"/>355 <field name="product_qty" class="oe_inline" on_change="onchange_product_id(product_id, name, product_qty, context)"/>
355 </div>356 <field name="product_uom" class="oe_inline" on_change="onchange_uom(product_id, product_uom)" groups="product.group_uom"/>
356 <label for="product_uos_qty" groups="product.group_uos"/>357 </div>
357 <div groups="product.group_uos" >358 <label for="product_uos_qty" groups="product.group_uos"/>
358 <field name="product_uos_qty"359 <div groups="product.group_uos" >
359 class="oe_inline"/>360 <field name="product_uos_qty"
360 <label string="-" attrs="{'invisible':[('product_uos','=',False)]}" class="oe_inline"/>361 class="oe_inline"/>
361 <field name="product_uos" class="oe_inline"/>362 <label string="-" attrs="{'invisible':[('product_uos','=',False)]}" class="oe_inline"/>
362 </div>363 <field name="product_uos" class="oe_inline"/>
363 <label for="routing_id" class="oe_inline" groups="mrp.group_mrp_routings"/>364 </div>
364 <div groups="mrp.group_mrp_routings">365 <label for="routing_id" class="oe_inline" groups="mrp.group_mrp_routings"/>
365 <field name="routing_id" class="oe_inline"/>366 <div groups="mrp.group_mrp_routings">
366 </div>367 <field name="routing_id" class="oe_inline"/>
367 </group>368 </div>
368 <group>369 </group>
369 <field name="name" groups="product.group_mrp_properties"/>370 <group>
370 <field name="code" string="Reference"/>371 <field name="name" groups="product.group_mrp_properties"/>
371 <field name="type"/>372 <field name="code" string="Reference"/>
372 <p colspan="2" class="oe_grey" attrs="{'invisible': [('type','=','normal')]}">373 <field name="type"/>
373 When processing a sales order for this product, the delivery order374 <p colspan="2" class="oe_grey" attrs="{'invisible': [('type','=','normal')]}">
374 will contain the raw materials, instead of the finished product.375 When processing a sales order for this product, the delivery order
375 </p>376 will contain the raw materials, instead of the finished product.
376 <field name="company_id" groups="base.group_multi_company" widget="selection"/>377 </p>
377 </group>378 <field name="company_id" groups="base.group_multi_company" widget="selection"/>
378 </group>379 </group>
379 <notebook>380 </group>
380 <page string="Components">381 <notebook>
381 <field name="bom_lines" widget="one2many_list">382 <page string="Components">
382 <tree string="Components" editable="bottom">383 <field name="bom_lines" widget="one2many_list">
383 <field name="product_id" context="{'default_supply_method':'produce'}" on_change="onchange_product_id(product_id, name)"/>384 <tree string="Components" editable="bottom">
384 <field name="product_qty"/>385 <field name="product_id" context="{'default_supply_method':'produce'}" on_change="onchange_product_id(product_id, name)"/>
385 <field name="product_uom" on_change="onchange_uom(product_id, product_uom)" groups="product.group_uom"/>386 <field name="product_qty"/>
386 <field name="name" invisible="1"/>387 <field name="product_uom" on_change="onchange_uom(product_id, product_uom)" groups="product.group_uom"/>
387 <field name="date_start"/>388 <field name="name" invisible="1"/>
388 <field name="date_stop"/>389 <field name="date_start"/>
389 </tree>390 <field name="date_stop"/>
390 </field>391 </tree>
391 </page>392 </field>
392 <page string="Properties" groups="product.group_mrp_properties">393 </page>
393 <group>394 <page string="Properties" groups="product.group_mrp_properties">
394 <group>395 <group>
395 <field name="position"/>396 <group>
396 <field name="bom_id"/>397 <field name="position"/>
397 <field name="sequence"/>398 <field name="bom_id"/>
398 <field name="active"/>399 <field name="sequence"/>
399 </group>400 <field name="active"/>
400 <group>401 </group>
401 <field name="date_start"/>402 <group>
402 <field name="date_stop"/>403 <field name="date_start"/>
403 <field name="product_rounding"/>404 <field name="date_stop"/>
404 <field name="product_efficiency"/>405 <field name="product_rounding"/>
405 </group>406 <field name="product_efficiency"/>
406 </group>407 </group>
407 <separator string="Properties"/>408 </group>
408 <field name="property_ids" widget="many2many_tags"/>409 <separator string="Properties"/>
409 </page>410 <field name="property_ids" widget="many2many_tags"/>
410 </notebook>411 </page>
411 <div class="oe_chatter">412 </notebook>
412 <field name="message_follower_ids" widget="mail_followers"/>413 <div class="oe_chatter">
413 <field name="message_ids" colspan="4" widget="mail_thread" nolabel="1"/>414 <field name="message_follower_ids" widget="mail_followers"/>
414 </div>415 <field name="message_ids" colspan="4" widget="mail_thread" nolabel="1"/>
416 </div>
417 </sheet>
415 </form>418 </form>
416 </field>419 </field>
417 </record>420 </record>
418421
=== modified file 'point_of_sale/point_of_sale_view.xml'
--- point_of_sale/point_of_sale_view.xml 2014-05-02 13:07:53 +0000
+++ point_of_sale/point_of_sale_view.xml 2014-05-06 12:16:18 +0000
@@ -715,49 +715,47 @@
715 </div>715 </div>
716 </header>716 </header>
717717
718 <sheet>718 <label for="name" class="oe_edit_only"/>
719 <label for="name" class="oe_edit_only"/>719 <h1>
720 <h1>720 <field name="name"/>
721 <field name="name"/>721 </h1>
722 </h1>722 <group col="4">
723 <group col="4">723 <field name="warehouse_id" widget="selection" groups="stock.group_locations" />
724 <field name="warehouse_id" widget="selection" groups="stock.group_locations" />724 <field name="pricelist_id" groups="product.group_sale_pricelist"/>
725 <field name="pricelist_id" groups="product.group_sale_pricelist"/>725 <field name="currency_id" invisible="1"/>
726 <field name="currency_id" invisible="1"/>726 <field name="journal_id" widget="selection"/>
727 <field name="journal_id" widget="selection"/>727 <field name="group_by" groups="account.group_account_user"/>
728 <field name="group_by" groups="account.group_account_user"/>728 <field name="sequence_id" readonly="1" groups="base.group_no_one"/>
729 <field name="sequence_id" readonly="1" groups="base.group_no_one"/>729 </group>
730 </group>730 <separator string="Available Payment Methods" colspan="4"/>
731 <separator string="Available Payment Methods" colspan="4"/>731 <field name="journal_ids" colspan="4" nolabel="1">
732 <field name="journal_ids" colspan="4" nolabel="1">732 <tree string="Journals">
733 <tree string="Journals">733 <field name="code" />
734 <field name="code" />734 <field name="name" />
735 <field name="name" />735 <field name="type" />
736 <field name="type" />736 <field name="cash_control" />
737 <field name="cash_control" />737 </tree>
738 </tree>738 </field>
739 </field>739 <group string="Features" >
740 <group string="Features" >740 <group>
741 <group>741 <field name="iface_vkeyboard" />
742 <field name="iface_vkeyboard" />742 <field name="iface_invoicing" />
743 <field name="iface_invoicing" />743 </group>
744 </group>744 <group>
745 <group>745 <field name="iface_big_scrollbars" />
746 <field name="iface_big_scrollbars" />746 </group>
747 </group>747 </group>
748 </group>748 <group string="Hardware Proxy" >
749 <group string="Hardware Proxy" >749 <field name="proxy_ip" />
750 <field name="proxy_ip" />750 <field name="iface_print_via_proxy" />
751 <field name="iface_print_via_proxy" />751 <field name="iface_scan_via_proxy" />
752 <field name="iface_scan_via_proxy" />752 <field name="iface_electronic_scale" />
753 <field name="iface_electronic_scale" />753 <field name="iface_cashdrawer" />
754 <field name="iface_cashdrawer" />754 </group>
755 </group>755 <group string="Receipt" >
756 <group string="Receipt" >756 <field name="receipt_header" placeholder="A custom receipt header message"/>
757 <field name="receipt_header" placeholder="A custom receipt header message"/>757 <field name="receipt_footer" placeholder="A custom receipt header footage"/>
758 <field name="receipt_footer" placeholder="A custom receipt header footage"/>758 </group>
759 </group>
760 </sheet>
761759
762 </form>760 </form>
763 </field>761 </field>
764762
=== modified file 'procurement/procurement_view.xml'
--- procurement/procurement_view.xml 2014-04-15 13:02:44 +0000
+++ procurement/procurement_view.xml 2014-05-06 12:16:18 +0000
@@ -215,34 +215,32 @@
215 <field name="model">stock.warehouse.orderpoint</field>215 <field name="model">stock.warehouse.orderpoint</field>
216 <field name="arch" type="xml">216 <field name="arch" type="xml">
217 <form string="Reordering Rules" version="7.0">217 <form string="Reordering Rules" version="7.0">
218 <sheet>218 <group>
219 <group>219 <group>
220 <group>220 <field name="name" />
221 <field name="name" />221 <field name="product_id" on_change="onchange_product_id(product_id)"/>
222 <field name="product_id" on_change="onchange_product_id(product_id)"/>222 </group>
223 </group>223 <group>
224 <group>224 <field name="warehouse_id" on_change="onchange_warehouse_id(warehouse_id)" options="{'no_create': True}" groups="stock.group_locations"/>
225 <field name="warehouse_id" on_change="onchange_warehouse_id(warehouse_id)" options="{'no_create': True}" groups="stock.group_locations"/>225 <field name="product_uom" groups="product.group_uom"/>
226 <field name="product_uom" groups="product.group_uom"/>226 <field name="location_id" groups="stock.group_locations"/>
227 <field name="location_id" groups="stock.group_locations"/>227 <field name="company_id" groups="base.group_multi_company" widget="selection"/>
228 <field name="company_id" groups="base.group_multi_company" widget="selection"/>228 </group>
229 </group>229 </group>
230 </group>230 <group>
231 <group>231 <group string="Rules">
232 <group string="Rules">232 <field name="product_min_qty" />
233 <field name="product_min_qty" />233 <field name="product_max_qty" />
234 <field name="product_max_qty" />234 <field name="qty_multiple" string="Quantity Multiple"/>
235 <field name="qty_multiple" string="Quantity Multiple"/>235 </group>
236 </group>236 <group string="Misc">
237 <group string="Misc">237 <field name="procurement_id" readonly="1"/>
238 <field name="procurement_id" readonly="1"/>238 <field name="active" />
239 <field name="active" />239 </group>
240 </group>240 </group>
241 </group>241 <group string="Procurement Orders to Process">
242 <group string="Procurement Orders to Process">242 <field name="procurement_draft_ids" nolabel="1"/>
243 <field name="procurement_draft_ids" nolabel="1"/>243 </group>
244 </group>
245 </sheet>
246 </form>244 </form>
247 </field>245 </field>
248 </record>246 </record>
249247
=== modified file 'product/product_view.xml'
--- product/product_view.xml 2014-04-22 10:03:06 +0000
+++ product/product_view.xml 2014-05-06 12:16:18 +0000
@@ -349,20 +349,18 @@
349 <field name="model">product.category</field>349 <field name="model">product.category</field>
350 <field name="arch" type="xml">350 <field name="arch" type="xml">
351 <form string="Product Categories" version="7.0">351 <form string="Product Categories" version="7.0">
352 <sheet>352 <div class="oe_title">
353 <div class="oe_title">353 <label for="name" class="oe_edit_only"/>
354 <label for="name" class="oe_edit_only"/>354 <h1>
355 <h1>355 <field name="name"/>
356 <field name="name"/>356 </h1>
357 </h1>357 </div>
358 </div>358 <group>
359 <group>359 <group name="parent" col="4">
360 <group name="parent" col="4">360 <field name="parent_id"/>
361 <field name="parent_id"/>361 <field name="type"/>
362 <field name="type"/>
363 </group>
364 </group>362 </group>
365 </sheet>363 </group>
366 </form>364 </form>
367 </field>365 </field>
368 </record>366 </record>
369367
=== modified file 'resource/resource_view.xml'
--- resource/resource_view.xml 2014-04-11 13:18:42 +0000
+++ resource/resource_view.xml 2014-05-06 12:16:18 +0000
@@ -59,15 +59,13 @@
59 <field name="model">resource.calendar</field>59 <field name="model">resource.calendar</field>
60 <field name="arch" type="xml">60 <field name="arch" type="xml">
61 <form string="Working Time" version="7.0">61 <form string="Working Time" version="7.0">
62 <sheet>62 <group>
63 <group>63 <field name="name"/>
64 <field name="name"/>64 <field name="manager"/>
65 <field name="manager"/>65 <field name="company_id" groups="base.group_multi_company"/>
66 <field name="company_id" groups="base.group_multi_company"/>66 </group>
67 </group>67 <field name="attendance_ids"/>
68 <field name="attendance_ids"/>68 <field name="leave_ids"/>
69 <field name="leave_ids"/>
70 </sheet>
71 </form>69 </form>
72 </field>70 </field>
73 </record>71 </record>

Subscribers

People subscribed via source and target branches

to all changes: