Kuldeep Joshi(OpenERP) has proposed merging
lp:~openerp-dev/openobject-addons/trunk-bug-924327-kjo into
lp:openobject-addons.
Requested reviews:
OpenERP Core Team (openerp)
Related bugs:
Bug #924327 in OpenERP Addons: "subscription cannot historize for document
other than Invoice or Sale order"
https://bugs.launchpad.net/openobject-addons/+bug/924327
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-924327-kjo/+merge/91243
set _get_document_type method in selection
--
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-924327-kjo/+merge/91243
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/trunk-bug-924327-kjo.
=== modified file 'subscription/subscription.py'
--- subscription/subscription.py 2011-10-16 01:28:00 +0000
+++ subscription/subscription.py 2012-02-02 11:42:33 +0000
@@ -155,7 +155,7 @@
_columns = {
'date': fields.datetime('Date'),
'subscription_id': fields.many2one('subscription.subscription', 'Subscription', ondelete='cascade'),
- 'document_id': fields.reference('Source Document', required=True, selection=[('account.invoice','Invoice'),('sale.order','Sale Order')], size=128),
+ 'document_id': fields.reference('Source Document', required=True, selection=_get_document_types, size=128),
}
subscription_subscription_history()
_______________________________________________
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