Files
odoo_source/addons/account/wizard/wizard_tax_adjustments_view.xml
T
Nicolas (vin) 7354da6923 [IMP] account: Accounts m2o behavior
There are inconsistencies in the m2o accounts create & edit behavior.
New off-balance account type was not correctly filtered

This change correct those two issues

Task ID: #2288757

closes odoo/odoo#54626

Related: odoo/enterprise#11920
Signed-off-by: Cedric Snauwaert (csn) <csn@openerp.com>
2020-08-13 08:56:53 +00:00

40 lines
1.5 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<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>
<field name="report_id" invisible="1"/>
<field name="tax_report_line_id" widget="selection" domain="[('tag_name', '!=', None), ('report_id', '=', report_id)]"/>
</group>
<group>
<group>
<field name="amount"/>
</group>
<group>
<field name="adjustment_type"/>
</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>
<button name="create_move" string="Create and post move" type="object" default_focus="1" class="oe_highlight"/>
<button string="Cancel" class="btn btn-secondary" special="cancel" />
</footer>
</form>
</field>
</record>
</odoo>