2020-03-19 09:13:15 +01:00
<?xml version="1.0" encoding="utf-8" ?>
2017-10-13 17:27:59 +02:00
<odoo >
2020-03-19 09:13:15 +01:00
<act_window
name="Compensate"
res_model="account.move.make.netting"
src_model="account.move.line"
view_mode="form"
target="new"
key2="client_action_multi"
multi="True"
id="act_account_move_make_netting"
/>
2017-10-13 17:27:59 +02:00
<record id= "view_account_move_make_netting_form" model= "ir.ui.view" >
<field name= "name" > Compensate entries</field>
<field name= "model" > account.move.make.netting</field>
<field name= "arch" type= "xml" >
<form string= "Compensate entries" >
2020-03-19 09:13:15 +01:00
<p
>This operation will generate account entries that are counterpart of the receivable/payable accounts selected, and reconcile each other, letting this balance in the partner.</p>
2017-10-13 17:27:59 +02:00
<group >
2020-03-19 09:13:15 +01:00
<field name= "balance" />
<field name= "balance_type" />
<field name= "journal_id" />
2017-10-13 17:27:59 +02:00
</group>
<footer >
2020-03-19 09:13:15 +01:00
<button
name="button_compensate"
string="Compensate"
type="object"
default_focus="1"
class="btn-primary"
/>
2017-10-13 17:27:59 +02:00
<button string= "Cancel" class= "btn-default" special= "cancel" />
</footer>
</form>
</field>
</record>
</odoo>