2010-04-09 13:28:37 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<openerp>
|
|
|
|
<data>
|
|
|
|
|
2010-08-14 09:43:51 +00:00
|
|
|
<record id="view_account_state_open" model="ir.ui.view">
|
2010-04-09 13:28:37 +00:00
|
|
|
<field name="name">Account State Open</field>
|
|
|
|
<field name="model">account.state.open</field>
|
|
|
|
<field name="type">form</field>
|
|
|
|
<field name="arch" type="xml">
|
2012-06-09 13:50:41 +00:00
|
|
|
<form string="Open Invoice" version="7.0">
|
|
|
|
<header>
|
|
|
|
<button name="change_inv_state" string="Yes" type="object" icon="terp-camera_test"/>
|
|
|
|
<button special="cancel" string="No" icon="terp-gtk-stop"/>
|
2012-06-09 22:28:49 +00:00
|
|
|
</header>
|
2010-08-14 09:43:51 +00:00
|
|
|
<label string="Are you sure you want to open this invoice ?"/>
|
|
|
|
<label string="(Invoice should be unreconciled if you want to open it)"/>
|
|
|
|
</form>
|
2010-04-09 13:28:37 +00:00
|
|
|
</field>
|
2010-08-14 09:43:51 +00:00
|
|
|
</record>
|
2010-04-09 13:28:37 +00:00
|
|
|
|
2010-08-14 09:43:51 +00:00
|
|
|
<record id="action_account_state_open" model="ir.actions.act_window">
|
2010-04-09 13:28:37 +00:00
|
|
|
<field name="name">Account State Open</field>
|
|
|
|
<field name="type">ir.actions.act_window</field>
|
|
|
|
<field name="res_model">account.state.open</field>
|
|
|
|
<field name="view_type">form</field>
|
|
|
|
<field name="view_mode">form</field>
|
|
|
|
<field name="view_id" ref="view_account_state_open"/>
|
2011-10-12 09:38:00 +00:00
|
|
|
<field name="context">{}</field>
|
2010-04-09 13:28:37 +00:00
|
|
|
<field name="target">new</field>
|
2010-08-14 09:43:51 +00:00
|
|
|
</record>
|
2010-04-09 13:28:37 +00:00
|
|
|
|
|
|
|
</data>
|
2010-08-14 09:43:51 +00:00
|
|
|
</openerp>
|