Merge lp:~openerp-dev/openobject-addons/6.1-opw-577935-ara into lp:openobject-addons/6.1

Proposed by Ashvin Rathod (OpenERP)
Status: Approved
Approved by: Naresh(OpenERP)
Approved revision: 6957
Proposed branch: lp:~openerp-dev/openobject-addons/6.1-opw-577935-ara
Merge into: lp:openobject-addons/6.1
Diff against target: 12 lines (+1/-1)
1 file modified
mrp_repair/mrp_repair.py (+1/-1)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/6.1-opw-577935-ara
Reviewer Review Type Date Requested Status
Naresh(OpenERP) (community) Approve
Review via email: mp+120696@code.launchpad.net

Description of the change

Hello,

Fix Bug on Repair Orders: 'can be sold' products are only available in the search for the product to be included in the repair order(i.e Operation add/remove).

Thanks,
Ashvin

To post a comment you must log in.
Revision history for this message
Naresh(OpenERP) (nch-openerp) :
review: Approve
Revision history for this message
Naresh(OpenERP) (nch-openerp) wrote :

Hello,

This bug was qualified as Confirmed on Trunk (means still existing and reproducible). A Merge Proposal for trunk was created to fix it. Here is the link to follow the MP on Launchpad https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-opw-577935-port-mma/+merge/132534 and be informed once it's been merged in trunk: ... If this Merge Proposal could not be merged in v6.1 at the release of v7.0, it will be closed.

Thanks,
Naresh Soni

Unmerged revisions

6957. By Ashvin Rathod (OpenERP)

[FIX] mrp_repair : removed domain from product and allow all product on mrp repair(Maintenance Case : 577935)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'mrp_repair/mrp_repair.py'
2--- mrp_repair/mrp_repair.py 2012-01-31 13:36:57 +0000
3+++ mrp_repair/mrp_repair.py 2012-08-22 04:58:18 +0000
4@@ -640,7 +640,7 @@
5 'repair_id': fields.many2one('mrp.repair', 'Repair Order Reference',ondelete='cascade', select=True),
6 'type': fields.selection([('add','Add'),('remove','Remove')],'Type', required=True),
7 'to_invoice': fields.boolean('To Invoice'),
8- 'product_id': fields.many2one('product.product', 'Product', domain=[('sale_ok','=',True)], required=True),
9+ 'product_id': fields.many2one('product.product', 'Product', required=True),
10 'invoiced': fields.boolean('Invoiced',readonly=True),
11 'price_unit': fields.float('Unit Price', required=True, digits_compute= dp.get_precision('Sale Price')),
12 'price_subtotal': fields.function(_amount_line, string='Subtotal',digits_compute= dp.get_precision('Sale Price')),