Merge lp:~openerp-dev/openobject-addons/trunk-opw-577935-port-mma into lp:openobject-addons

Proposed by Mayur Maheshwari(OpenERP)
Status: Merged
Merged at revision: 8001
Proposed branch: lp:~openerp-dev/openobject-addons/trunk-opw-577935-port-mma
Merge into: lp:openobject-addons
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/trunk-opw-577935-port-mma
Reviewer Review Type Date Requested Status
OpenERP Core Team Pending
Review via email: mp+132534@code.launchpad.net

Description of the change

Hello,

    I Have Fixed 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).

    Code is forward port from 6.1

Thanks,
Mayur

To post a comment you must log in.

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-10-24 20:18:59 +0000
3+++ mrp_repair/mrp_repair.py 2012-11-01 12:18:19 +0000
4@@ -690,7 +690,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('Product Price')),
12 'price_subtotal': fields.function(_amount_line, string='Subtotal',digits_compute= dp.get_precision('Account')),

Subscribers

People subscribed via source and target branches

to all changes: