Somesh Khare(OpenERP) has proposed merging 
lp:~openerp-dev/openobject-addons/6.0-opw-572837-skh into 
lp:openobject-addons/6.0.

Requested reviews:
  Naresh(OpenERP) (nch-openerp)

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/6.0-opw-572837-skh/+merge/97823

Hello Sir,

[Fix] : There are two issue in the mrp_repair module,

1. Created Invoice did not consider the Invoice address, It takes the delivery 
address in the Invoice.
2. If the Deliver address is left BLANK, and we try to create invoice from the 
Button "Make Invoice" It raised Integrity Error: null value in column 
"address_invoice_id" violates not-null constraint.

This branch fixes this issue.

Kindly review the branch and share your view on it.

Thanks,
Somesh Khare
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/6.0-opw-572837-skh/+merge/97823
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/6.0-opw-572837-skh.
=== modified file 'mrp_repair/mrp_repair.py'
--- mrp_repair/mrp_repair.py	2011-08-05 13:37:54 +0000
+++ mrp_repair/mrp_repair.py	2012-03-16 10:03:04 +0000
@@ -384,7 +384,7 @@
                         'type': 'out_invoice',
                         'account_id': account_id,
                         'partner_id': repair.partner_id.id,
-                        'address_invoice_id': repair.address_id.id,
+                        'address_invoice_id': repair.partner_invoice_id.id,
                         'currency_id': repair.pricelist_id.currency_id.id,
                         'comment': repair.quotation_notes,
                         'fiscal_position': repair.partner_id.property_account_position.id

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to