OpusVL / odoo-project-management

WIP Port to Odoo v8 of eficent-openerp-project-management from Launchpad
7 stars 14 forks source link

project_sale refers to a now defunct 'Billing' tab on the project UI #1

Closed colinnewell closed 10 years ago

colinnewell commented 10 years ago

It's trying to attach itself near a field named warn_customer which additionally no longer exists. On the plus side, that's the only dependency it has on that field.

Field(s) `arch` failed against a constraint: Invalid view definition

Error details:
Element '<xpath expr="/form/notebook/page[@string='Billing']/field[@name='warn_customer']">' cannot be located in parent view

Error context:
View `project.project.form.inherit`
[view_id: 895, xml_id: n/a, model: project.project, parent_id: 758]" while parsing /opt/custom_odoo_modules/project_sale/project_view.xml:13, near
<record id="edit_project_inherit" model="ir.ui.view">
              <field name="name">project.project.form.inherit</field>
              <field name="model">project.project</field>
              <field name="type">form</field>
              <field name="inherit_id" ref="project.edit_project"/>
              <field name="arch" type="xml">
                        <xpath expr="/form/notebook/page[@string='Billing']/field[@name='warn_customer']" position="after">
                            <field name="order_count"/>
                        </xpath>
              </field>
        </record>
colinnewell commented 10 years ago

This has been wired onto the Miscellaneous section for now.