[7.0] account_default_draft_move - XML xpath expr error in invoice view on invoice_cancel button
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Account - Financial Tools |
Fix Released
|
Undecided
|
Yannick Vaucher @ Camptocamp |
Bug Description
Trying to install the module will lead to:
2013-03-26 08:58:12,340 10635 ERROR openerp_
Traceback (most recent call last):
File "...server/
fvg = self.pool.
File "...addons/
res = super(account_
File "...server/
arch=
File "...server/
source = apply_inheritan
File "...server/
raise_
File "...server/
% (child_view.xml_id, self._name, error_msg))
AttributeError: View definition error for inherited view 'account_
2013-03-26 08:58:12,341 10635 ERROR openerp_
<record id="invoice_
<field name="name">Show Cancel invoice button</field>
<field name="model"
<field name="inherit_id" ref="account.
<field name="type"
<field name="arch" type="xml">
<xpath expr="/
</xpath>
</field>
</record>
Traceback (most recent call last):
File "...server/
self.
File "...server/
id = self.pool.
File "...server/
model_
File "...server/
return super(view, self).write(cr, uid, ids, vals, context)
File "...server/
self.
File "...server/
raise except_
except_orm: ('ValidateError', u'Une erreur est apparue lors de la validation du/des champ(s) arch: Invalid XML for View
Architecture!')
The 2nd button has been removed in addons at revision :
revno: 8845.1.1
revision-id: <email address hidden>
parent: launchpad_
committer: Chris Biersbach <email address hidden>
branch nick: 7.0-opw-589784-cbi
timestamp: Wed 2013-03-13 13:43:17 +0100
message:
account: [FIX] Removes the unneeded second cancel button on supplier invoices
Related branches
- Guewen Baconnier @ Camptocamp: Approve
- Alexandre Fayolle - camptocamp: Approve (code review, no test)
-
Diff: 21 lines (+3/-2)1 file modifiedaccount_default_draft_move/invoice_view.xml (+3/-2)
Changed in account-financial-tools: | |
assignee: | nobody → Yannick Vaucher @ Camptocamp (yvaucher-c2c) |
Changed in account-financial-tools: | |
status: | New → Fix Released |