summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2022-10-26 15:56:00 +0700
committerstephanchrst <stephanchrst@gmail.com>2022-10-26 15:56:00 +0700
commit780b7ce9643644bd3ea020c02d66257d85d53778 (patch)
tree36a32ae9a4eb3ccefee25a7f67dcef830a27ccf4 /indoteknik_custom/views
parent30b673c510483934e215858dc928097cd20dea21 (diff)
Update dunning_run.py, ir.model.access.csv, and dunning_run.xml
Diffstat (limited to 'indoteknik_custom/views')
-rw-r--r--indoteknik_custom/views/dunning_run.xml50
1 files changed, 48 insertions, 2 deletions
diff --git a/indoteknik_custom/views/dunning_run.xml b/indoteknik_custom/views/dunning_run.xml
index 5036b1cd..b0bf8654 100644
--- a/indoteknik_custom/views/dunning_run.xml
+++ b/indoteknik_custom/views/dunning_run.xml
@@ -14,8 +14,54 @@
</field>
</record>
+ <record id="dunning_run_line_tree" model="ir.ui.view">
+ <field name="name">dunning.run.line.tree</field>
+ <field name="model">dunning.run.line</field>
+ <field name="arch" type="xml">
+ <tree>
+ <field name="invoice_id"/>
+ <field name="date_invoice"/>
+ <field name="efaktur_id"/>
+ <field name="reference"/>
+ <field name="open_amt"/>
+ </tree>
+ </field>
+ </record>
+
+ <record id="dunning_run_form" model="ir.ui.view">
+ <field name="name">dunning.run.form</field>
+ <field name="model">dunning.run</field>
+ <field name="arch" type="xml">
+ <form>
+ <sheet string="Manufactures">
+ <div class="oe_button_box" name="button_box"/>
+ <group>
+ <group>
+ <field name="number"/>
+ <field name="partner_id"/>
+ <field name="dunning_level"/>
+ </group>
+ </group>
+ <notebook>
+ <page string="Invoices">
+ <field name="dunning_line"/>
+ </page>
+ </notebook>
+ </sheet>
+ </form>
+ </field>
+ </record>
+
+ <record id="dunning_run_action" model="ir.actions.act_window">
+ <field name="name">Dunning Run</field>
+ <field name="type">ir.actions.act_window</field>
+ <field name="res_model">dunning.run</field>
+ <field name="view_mode">tree,form</field>
+ </record>
+
<menuitem id="menu_dunning_run"
name="Dunning Run"
- action="dunning_run_tree"
- parent="account.account_reports_management_menu"/>
+ action="dunning_run_action"
+ parent="account.menu_finance_reports"
+ sequence="200"/>
</odoo> \ No newline at end of file