Somesh Khare(OpenERP) has proposed merging
lp:~openerp-dev/openobject-addons/6.0-opw-572905-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-572905-skh/+merge/98376
Hello Sir,
[Fix] : Cancelling the invoice raised Integrity Error when the Invoice line has
amount =0 + analytic account.
This branch fixes the issue. Kindly review the branch and please share your
views on it.
Thanks
Somesh Khare
--
https://code.launchpad.net/~openerp-dev/openobject-addons/6.0-opw-572905-skh/+merge/98376
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/6.0-opw-572905-skh.
=== modified file 'account/account_analytic_line.py'
--- account/account_analytic_line.py 2011-06-27 11:10:00 +0000
+++ account/account_analytic_line.py 2012-03-20 09:59:37 +0000
@@ -32,7 +32,7 @@
'product_uom_id': fields.many2one('product.uom', 'UoM'),
'product_id': fields.many2one('product.product', 'Product'),
'general_account_id': fields.many2one('account.account', 'General Account', required=True, ondelete='restrict'),
- 'move_id': fields.many2one('account.move.line', 'Move Line', ondelete='restrict', select=True),
+ 'move_id': fields.many2one('account.move.line', 'Move Line', ondelete='cascade', select=True),
'journal_id': fields.many2one('account.analytic.journal', 'Analytic Journal', required=True, ondelete='restrict', select=True),
'code': fields.char('Code', size=8),
'ref': fields.char('Ref.', size=64),
_______________________________________________
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