purchase_bill_sync/wizard/purchase_bill_sync_wizard_views.xml

45 lines
2.0 KiB
XML

<odoo>
<record id="view_purchase_bill_sync_wizard_form" model="ir.ui.view">
<field name="name">purchase.bill.sync.wizard.form</field>
<field name="model">purchase.bill.sync.wizard</field>
<field name="arch" type="xml">
<form string="Sync Vendor Bills">
<header>
<button name="action_check_all" string="Check All" type="object" class="btn-secondary"/>
<button name="action_uncheck_all" string="Uncheck All" type="object" class="btn-secondary"/>
</header>
<group>
<group>
<field name="date_from"/>
<field name="date_to"/>
</group>
</group>
<notebook>
<page string="Discrepancies">
<field name="line_ids">
<list editable="bottom" create="0" delete="0">
<field name="selected"/>
<field name="move_id"/>
<field name="partner_id"/>
<field name="discrepancy_details"/>
</list>
</field>
</page>
</notebook>
<footer>
<button name="action_analyze" string="Find Discrepancies" type="object" class="btn-primary"/>
<button name="action_sync" string="Sync Selected" type="object" class="btn-primary"/>
<button string="Cancel" class="btn-secondary" special="cancel"/>
</footer>
</form>
</field>
</record>
<record id="action_purchase_bill_sync_wizard" model="ir.actions.act_window">
<field name="name">Sync Vendor Bills</field>
<field name="res_model">purchase.bill.sync.wizard</field>
<field name="view_mode">form</field>
<field name="target">new</field>
</record>
</odoo>