price_get_multi - Date set to False from context.
Bug #1182748 reported by
jordg
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Committed
|
Medium
|
OpenERP R&D Addons Team 2 |
Bug Description
When price_get_mutli is called there are some cases when the context has date:False. Looking at the code below the date is set as today. However if the key date exists even though it is False the date is set to False. This produces an pricelist error.
date = time.strftime(
if 'date' in context:
date = context['date']
May I suggest to double check the dictionary.
if 'date' in context and context['date']:
Regards
Related branches
lp:~openerp-dev/openobject-addons/trunk-bug-1182748-dharmraj
Ready for review
for merging
into
lp:openobject-addons
- OpenERP Core Team: Pending requested
-
Diff: 12 lines (+1/-1)1 file modifiedproduct/pricelist.py (+1/-1)
Changed in openobject-addons: | |
status: | New → Confirmed |
Changed in openobject-addons: | |
importance: | Undecided → Medium |
assignee: | nobody → OpenERP R&D Addons Team 2 (openerp-dev-addons2) |
Changed in openobject-addons: | |
status: | Confirmed → In Progress |
To post a comment you must log in.
Hello, /code.launchpad .net/~openerp- dev/openobject- addons/ trunk-bug- 1182748- dharmraj" branch.
It has been fixed commited in
"https:/
Revision No : 8710
Revision ID: <email address hidden>
It will be available soon in trunk.
Thanks,
Dharmraj.