[trunk/7.0] project_crm : sale_order_id does not appear in the correct location on project.task
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
Medium
|
OpenERP R&D Addons Team 1 |
Bug Description
Version: OpenERP 7.0 runbot (and probably others)
How to demonstrate this thanks to a direct bug in runbot:
- launch runbot
- in setting>project, check "allow task delegation"
- In task view, sale_order_id should appear after state located in Extra info page
code: (project_
<record id="view_
<field name="name"
<field name="model"
<field name="inherit_id" ref="project.
<field name="arch" type="xml">
</record>
but due to the presence of 2 occurrences of "state" labeled fields in the project.task form, inheritance apply only to the first one, which happens to be the wrong. With chance (or bad luck), this bug won't cause exceptions, because the subview happens to support the addition of "sale_line_id". Nevertheless, this causes a silent bug in the replacement of the field. This is what is shown in the video.
project.
<field name="arch" type="xml">
see video
Related branches
- Martin Trigaux (OpenERP) (community): Approve
-
Diff: 15 lines (+2/-2)1 file modifiedproject_mrp/project_mrp_view.xml (+2/-2)
- OpenERP Core Team: Pending requested
-
Diff: 15 lines (+2/-2)1 file modifiedproject_mrp/project_mrp_view.xml (+2/-2)
- Martin Trigaux (OpenERP): Pending requested
-
Diff: 129 lines (+26/-8)6 files modifiedaccount/project/wizard/account_analytic_chart_view.xml (+5/-5)
account/report/account_financial_report.py (+1/-0)
account/report/account_financial_report.rml (+6/-1)
account/wizard/account_financial_report.py (+3/-2)
account/wizard/account_report_common.py (+1/-0)
project/project.py (+10/-0)
Changed in openobject-addons: | |
status: | New → Confirmed |
Changed in openobject-addons: | |
status: | Confirmed → In Progress |
Changed in openobject-addons: | |
assignee: | nobody → OpenERP R&D Addons Team 1 (openerp-dev-addons1) |
importance: | Undecided → Medium |
status: | In Progress → Confirmed |
summary: |
- [7.0] project_crm : sale_order_id does not appear in the correct + [trunk/7.0] project_crm : sale_order_id does not appear in the correct location on project.task |
Changed in openobject-addons: | |
status: | Confirmed → In Progress |
Use xpath to locate correct state field instead of field name.