2018-01-16 06:58:15 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2018-01-16 11:34:37 +01:00
|
|
|
<flectra>
|
2018-01-16 06:58:15 +01:00
|
|
|
|
|
|
|
<record id="tax_adjustments_wizard" model="ir.ui.view">
|
|
|
|
<field name="name">tax.adjustments.wizard.form</field>
|
|
|
|
<field name="model">tax.adjustments.wizard</field>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<form>
|
|
|
|
<h1>
|
|
|
|
<field name="reason" class="oe_inline" placeholder="Reason..."/>
|
|
|
|
</h1>
|
|
|
|
<group>
|
|
|
|
<group>
|
|
|
|
<field name="amount"/>
|
2018-07-06 10:35:19 +02:00
|
|
|
<field name="adjustment_type"/>
|
2018-01-16 06:58:15 +01:00
|
|
|
</group>
|
|
|
|
<group>
|
|
|
|
<field name="tax_id" widget="selection"/>
|
|
|
|
</group>
|
|
|
|
<group string="Accounts">
|
|
|
|
<field name="debit_account_id"/>
|
|
|
|
<field name="credit_account_id"/>
|
|
|
|
</group>
|
|
|
|
<group string="Options">
|
|
|
|
<field name="journal_id"/>
|
|
|
|
<field name="date"/>
|
|
|
|
</group>
|
|
|
|
</group>
|
|
|
|
<footer>
|
2018-07-06 10:35:19 +02:00
|
|
|
<div attrs="{'invisible': [('adjustment_type', '=', 'credit')]}">
|
|
|
|
<button name="create_move_debit" string="Create and post move" type="object" default_focus="1" class="oe_highlight"/>
|
2018-01-16 06:58:15 +01:00
|
|
|
<button string="Cancel" class="btn btn-default" special="cancel" />
|
2018-07-06 10:35:19 +02:00
|
|
|
</div>
|
|
|
|
<div attrs="{'invisible': [('adjustment_type', '!=', 'credit')]}">
|
|
|
|
<button name="create_move_credit" string="Create and post move" type="object" default_focus="1" class="oe_highlight"/>
|
|
|
|
<button string="Cancel" class="btn btn-default" special="cancel" />
|
|
|
|
</div>
|
2018-01-16 06:58:15 +01:00
|
|
|
</footer>
|
|
|
|
</form>
|
|
|
|
</field>
|
|
|
|
</record>
|
2018-01-16 11:34:37 +01:00
|
|
|
</flectra>
|