subscription cannot historize for document other than Invoice or Sale order
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
Medium
|
OpenERP R&D Addons Team 1 |
Bug Description
When a subscription for a document other than "Invoice" or "Sale Order" runs, the cron job fails on trying
to create the subscription history.
Steps to reproduce:
* clean trunk code + database with project and subscription modules installed
* under tools / configuration / recurring events / document types create document type "Task" (project.task)
* under tools / Recurring Events / Subscriptions create subscription for a task and press "process"
Wait for the cron job to run , you will see following error in the console:
_('The value "%s" for the field "%s.%s" is not in the selection') % (value, self._table, field))
except_orm: ('ValidateError', u'The value "project.task,64" for the field "subscription_
Possible fix:
in the class subscription_
Related branches
- Raphael Collet (OpenERP) (community): Approve
-
Diff: 11 lines (+1/-1)1 file modifiedsubscription/subscription.py (+1/-1)
Changed in openobject-addons: | |
status: | New → Confirmed |
assignee: | nobody → OpenERP R&D Addons Team 1 (openerp-dev-addons1) |
importance: | Undecided → Medium |
Changed in openobject-addons: | |
status: | Confirmed → In Progress |
Hello, Thanks For Reporting. /code.launchpad .net/~openerp- dev/openobject- addons/ trunk-bug- 924327- kjo
It has been Fixed in https:/
revision-id: <email address hidden>
revno: 6470
It will be available in trunk soon.