Merge lp:~openerp-dev/openobject-addons/trunk-bug-1115933-cga into lp:openobject-addons

Proposed by Chandni Gandhi(OpenERP)
Status: Needs review
Proposed branch: lp:~openerp-dev/openobject-addons/trunk-bug-1115933-cga
Merge into: lp:openobject-addons
Diff against target: 21 lines (+2/-2)
1 file modified
sale_journal/sale_journal_view.xml (+2/-2)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/trunk-bug-1115933-cga
Reviewer Review Type Date Requested Status
OpenERP Core Team Pending
Review via email: mp+146820@code.launchpad.net

Description of the change

Hello,

Read-only invoice type,when picking is not in draft state.

Thanks

To post a comment you must log in.
8535. By Chandni Gandhi(OpenERP)

[MERGE]:With latest code

8536. By Chandni Gandhi(OpenERP)

[MERGE]:With latest trunk

Unmerged revisions

8536. By Chandni Gandhi(OpenERP)

[MERGE]:With latest trunk

8535. By Chandni Gandhi(OpenERP)

[MERGE]:With latest code

8534. By Chandni Gandhi(OpenERP)

[FIX]:Readonly invoice type when picking not in draft state

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'sale_journal/sale_journal_view.xml'
2--- sale_journal/sale_journal_view.xml 2012-12-16 15:58:43 +0000
3+++ sale_journal/sale_journal_view.xml 2013-02-25 05:43:20 +0000
4@@ -102,7 +102,7 @@
5 <field name="inherit_id" ref="stock.view_picking_in_form" />
6 <field name="arch" type="xml">
7 <field name="move_type" position="before">
8- <field name="invoice_type_id"/>
9+ <field name="invoice_type_id" attrs="{'readonly':[('state', '!=', 'draft')]}"/>
10 </field>
11 </field>
12 </record>
13@@ -124,7 +124,7 @@
14 <field name="inherit_id" ref="stock.view_picking_out_form" />
15 <field name="arch" type="xml">
16 <field name="move_type" position="before">
17- <field name="invoice_type_id"/>
18+ <field name="invoice_type_id" attrs="{'readonly':[('state', '!=', 'draft')]}"/>
19 </field>
20 </field>
21 </record>

Subscribers

People subscribed via source and target branches

to all changes: