Riken Bhorania (OpenERP) has proposed merging
lp:~openerp-dev/openobject-addons/6.0-opw-576062-rch 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-576062-rch/+merge/111536
Hello,
The 'Total Receivable' and 'Total Payable' field of Partner form must contain
corresponding values of all current+closed fiscal year's invoices.
Steps to reproduce:
1. Create customer invoice and validate it.
2. Check the value of 'Total Receivable' field of Partner Form.
3. Generate Opening balance entry for next fiscal year.
4. Close current fiscal year.
5. Check the value of 'Total Receivable'
'Total Receivable' value is not same for step 2 and step 5. It must be like
step 2 after closing the fiscal year.
This merge proposal fix above problem.
Kindly review it.
Thanks.
--
https://code.launchpad.net/~openerp-dev/openobject-addons/6.0-opw-576062-rch/+merge/111536
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/6.0-opw-576062-rch.
=== modified file 'account/partner.py'
--- account/partner.py 2011-12-15 13:31:38 +0000
+++ account/partner.py 2012-06-22 04:47:23 +0000
@@ -92,6 +92,7 @@
_description = 'Partner'
def _credit_debit_get(self, cr, uid, ids, field_names, arg, context=None):
+ context.update({'all_fiscalyear': True})
query = self.pool.get('account.move.line')._query_get(cr, uid, context=context)
cr.execute("""SELECT l.partner_id, a.type, SUM(l.debit-l.credit)
FROM account_move_line l
_______________________________________________
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