account invoice model translation problem with no context param
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
Low
|
OpenERP R&D Addons Team 3 |
Bug Description
I'm testing openerp-6.0.1
There is few bug that getting no context param on argument list:
addons/
addons/
addons/
addons/
addons/
The problem is occured in translation :
DEBUG:translate:no translation language detected, skipping translation for "'Error !'"
on tools/translate.py line : 219 logger.debug('no translation language detected, skipping translation for "%r" ', source)
Related branches
- Purnendu Singh (OpenERP) (community): Approve
- Bharat Devnani (Open ERP) (community): Needs Resubmitting
- Mustufa Rangwala (Open ERP) (community): Needs Fixing
- qdp (OpenERP): Pending requested
-
Diff: 142 lines (+27/-22)4 files modifiedaccount/account_invoice.py (+21/-16)
account_analytic_plans/account_analytic_plans.py (+2/-2)
analytic_journal_billing_rate/analytic_journal_billing_rate.py (+2/-2)
hr_timesheet_invoice/hr_timesheet_invoice.py (+2/-2)
Changed in openobject-addons: | |
assignee: | nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3) |
importance: | Undecided → Low |
status: | New → Confirmed |
Changed in openobject-addons: | |
status: | Confirmed → In Progress |
Changed in openobject-addons: | |
assignee: | OpenERP R&D Addons Team 3 (openerp-dev-addons3) → OpenERP's Framework R&D (openerp-dev-framework) |
status: | In Progress → Confirmed |
affects: | openobject-addons → openobject-server |
Changed in openobject-server: | |
status: | Confirmed → In Progress |
status: | In Progress → Confirmed |
summary: |
- account invoice model translation problem with no context param + missing Context in workflow methods |
Changed in openobject-addons: | |
status: | Confirmed → In Progress |
hello jacara,
I agree with you for adding context as parameter for given lines but for that we need context value in parameter. But problem seems in workflow.
See action_ move_create( ) called from workflow services and workflow does not pass context.
If we get context from workflow then we can used it in method argument.
It is problem of framework.
Thanks,
ara