Merge lp:~openerp-dev/openobject-addons/trunk-bug-1133872-priyank into lp:openobject-addons

Proposed by Priyank Pandya(OpenERP Trainee)
Status: Needs review
Proposed branch: lp:~openerp-dev/openobject-addons/trunk-bug-1133872-priyank
Merge into: lp:openobject-addons
Diff against target: 12 lines (+1/-1)
1 file modified
mrp_repair/mrp_repair_view.xml (+1/-1)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/trunk-bug-1133872-priyank
Reviewer Review Type Date Requested Status
OpenERP Core Team Pending
Review via email: mp+155924@code.launchpad.net

Description of the change

Hello,

  Set the domain on source location that user cant select the view type in repair order.

Thanks,
Priyank.

To post a comment you must log in.

Unmerged revisions

8653. By Priyank Pandya(OpenERP Trainee)

[FIX] Can't fix Repair Order where location is a view type

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'mrp_repair/mrp_repair_view.xml'
2--- mrp_repair/mrp_repair_view.xml 2012-12-15 16:31:01 +0000
3+++ mrp_repair/mrp_repair_view.xml 2013-03-28 10:20:38 +0000
4@@ -96,7 +96,7 @@
5 <field name="product_id" on_change="product_id_change(parent.pricelist_id,product_id,product_uom,product_uom_qty, parent.partner_id)"/>
6 <field name='name'/>
7 <field name="prodlot_id" groups="stock.group_production_lot" string="Serial Number"/>
8- <field name="location_id" groups="stock.group_locations"/>
9+ <field name="location_id" groups="stock.group_locations" domain="[('usage','!=','view')]"/>
10 <field name="location_dest_id" groups="stock.group_locations"/>
11 <field name="product_uom_qty" string="Quantity"/>
12 <field name="product_uom" string="Unit of Measure" groups="product.group_uom"/>

Subscribers

People subscribed via source and target branches

to all changes: