Merge lp:~openerp-dev/openobject-addons/6.1-opw-582118-han into lp:openobject-addons/6.1

Proposed by Hardik Ansodariya (OpenERP)
Status: Needs review
Proposed branch: lp:~openerp-dev/openobject-addons/6.1-opw-582118-han
Merge into: lp:openobject-addons/6.1
Diff against target: 12 lines (+1/-1)
1 file modified
sale/sale_view.xml (+1/-1)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/6.1-opw-582118-han
Reviewer Review Type Date Requested Status
Naresh(OpenERP) Pending
Review via email:

Description of the change


sale_order: make 'invoice_quantity' field readonly when 'invoice policy is invoice on order after delivery'

Kindly review it.

To post a comment you must log in.

Unmerged revisions

7086. By Hardik Ansodariya (OpenERP)

[FIXED] sale_order: make invoice_quantity field readonly when invoice policy is invoice on order after delivery (Maintanence Case: 582118)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'sale/sale_view.xml'
2--- sale/sale_view.xml 2012-10-09 12:16:14 +0000
3+++ sale/sale_view.xml 2012-12-03 05:40:31 +0000
4@@ -222,7 +222,7 @@
5 <field name="incoterm" widget="selection"/>
6 <field name="picking_policy" required="True"/>
7 <field name="order_policy" on_change="shipping_policy_change(order_policy)"/>
8- <field name="invoice_quantity" attrs="{'readonly':[('order_policy','in',('prepaid','picking'))]}"/>
9+ <field name="invoice_quantity" attrs="{'readonly':[('order_policy','in',('prepaid','picking','postpaid'))]}"/>
10 </group>
11 <group colspan="2" col="2">
12 <separator string="References" colspan="2"/>