Ashvin Rathod (OpenERP) has proposed merging
lp:~openerp-dev/openobject-addons/trunk-bug-807543-ara into
lp:openobject-addons.
Requested reviews:
OpenERP Core Team (openerp)
Related bugs:
Bug #807543 in OpenERP Addons: "re-open invoice assigned to useability/no one"
https://bugs.launchpad.net/openobject-addons/+bug/807543
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-807543-ara/+merge/69203
Hello,
Fix: re-open invoice assigned to usability/no one
Thanks,
ara
--
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-807543-ara/+merge/69203
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/trunk-bug-807543-ara.
=== modified file 'account_cancel/account_cancel_view.xml'
--- account_cancel/account_cancel_view.xml 2011-01-14 00:11:01 +0000
+++ account_cancel/account_cancel_view.xml 2011-07-26 06:43:26 +0000
@@ -12,5 +12,30 @@
</field>
</field>
</record>
+
+ <record id="invoice_form_inherit" model="ir.ui.view">
+ <field name="name">invoice.form.inherit</field>
+ <field name="model">account.invoice</field>
+ <field name="type">form</field>
+ <field name="inherit_id" ref="account.invoice_form"/>
+ <field name="arch" type="xml">
+ <xpath expr="/form/notebook/page/group/group/button[@name='%(account.action_account_state_open)d']" position="replace">
+ <button name='%(account.action_account_state_open)d' type='action' string='Re-Open' states='paid' icon="gtk-convert" groups="account.group_account_invoice"/>
+ </xpath>
+ </field>
+ </record>
+
+ <record id="invoice_supplier_form_inherit" model="ir.ui.view">
+ <field name="name">invoice.supplier.form.inherit</field>
+ <field name="model">account.invoice</field>
+ <field name="type">form</field>
+ <field name="inherit_id" ref="account.invoice_supplier_form"/>
+ <field name="arch" type="xml">
+ <xpath expr="/form/notebook/page/group/group/button[@name='%(account.action_account_state_open)d']" position="replace">
+ <button name='%(account.action_account_state_open)d' type='action' string='Re-Open' states='paid' icon="gtk-convert" groups="account.group_account_invoice"/>
+ </xpath>
+ </field>
+ </record>
+
</data>
</openerp>
_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help : https://help.launchpad.net/ListHelp