Atik Agewan(OpenERP) has proposed merging
lp:~openerp-dev/openobject-addons/trunk-bug-798256-aag into
lp:openobject-addons.
Requested reviews:
Rucha (Open ERP) (rpa-openerp)
Related bugs:
Bug #798256 in OpenERP Addons: "Issues on due date and payment term for
supplier invoices"
https://bugs.launchpad.net/openobject-addons/+bug/798256
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-798256-aag/+merge/64999
Hello,
stock:if Payment term is set for supplier than than PO from picking is done
than
in invoice payment term is set so due date calculate.
Thanks
--
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-798256-aag/+merge/64999
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/trunk-bug-798256-aag.
=== modified file 'stock/stock.py'
--- stock/stock.py 2011-05-30 16:21:43 +0000
+++ stock/stock.py 2011-06-17 13:51:10 +0000
@@ -1012,7 +1012,7 @@
'address_invoice_id': address_invoice_id,
'address_contact_id': address_contact_id,
'comment': comment,
- 'payment_term': payment_term_id,
+ 'payment_term': address.partner_id.property_payment_term and address.partner_id.property_payment_term.id or False,
'fiscal_position': partner.property_account_position.id,
'date_invoice': context.get('date_inv',False),
'company_id': picking.company_id.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