File: accrued_orders.xml

package info (click to toggle)
odoo 18.0.0%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 878,716 kB
  • sloc: javascript: 927,937; python: 685,670; xml: 388,524; sh: 1,033; sql: 415; makefile: 26
file content (32 lines) | stat: -rw-r--r-- 1,561 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<?xml version="1.0" encoding="utf-8"?>
<odoo>
    <record id="view_account_accrued_orders_wizard" model="ir.ui.view">
        <field name="name">account.accrued.orders.wizard.view</field>
        <field name="model">account.accrued.orders.wizard</field>
        <field name="arch" type="xml">
            <form string="Make Accrual Entries">
                <field name="company_id" invisible="1"/>
                <group>
                    <div class="alert alert-info" colspan="4" role="alert" invisible="not display_amount">
                      There doesn't appear to be anything to invoice for the selected order. However, you can use the amount field to force an accrual entry.
                    </div>
                  <group>
                    <field name="journal_id"/>
                    <field name="account_id"/>
                    <field name="amount" invisible="not display_amount"/>
                    <field name="display_amount" invisible="1"/>
                  </group>
                  <group>
                    <field name="date"/>
                    <field name="reversal_date"/>
                  </group>
                </group>
                <field name="preview_data" widget="grouped_view_widget" class="w-100"/>
                <footer>
                    <button string='Create Entry' name="create_entries" type="object" class="btn-primary"/>
                    <button string="Cancel" class="btn-secondary" special="cancel"/>
                </footer>
            </form>
        </field>
    </record>
</odoo>