diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2022-12-26 17:39:05 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2022-12-26 17:39:05 +0700 |
| commit | f9f4b55c57461fa7cb0a4d3fb6fc9e85f53fe9c2 (patch) | |
| tree | 9945b3df169eeddd790cd0f40df673ece17bf2d1 /indoteknik_custom/views | |
| parent | db2f280683b29ac5d32158f3fab0f3df671935e9 (diff) | |
window sales target
Diffstat (limited to 'indoteknik_custom/views')
| -rw-r--r-- | indoteknik_custom/views/sales_target.xml | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/indoteknik_custom/views/sales_target.xml b/indoteknik_custom/views/sales_target.xml new file mode 100644 index 00000000..39462ad7 --- /dev/null +++ b/indoteknik_custom/views/sales_target.xml @@ -0,0 +1,51 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<odoo> + <data> + <record id="sales_target_action" model="ir.actions.act_window"> + <field name="name">Sales Target</field> + <field name="res_model">sales.target</field> + <field name="view_mode">tree,form</field> + </record> + + <record id="sales_target_tree" model="ir.ui.view"> + <field name="name">Sales Target</field> + <field name="model">sales.target</field> + <field name="arch" type="xml"> + <tree> + <field name="partner_id"/> + <field name="period"/> + <field name="omset_last_year"/> + <field name="ongoing_omset_total"/> + </tree> + </field> + </record> + + <record id="sales_target_form" model="ir.ui.view"> + <field name="name">Sales Target</field> + <field name="model">sales.target</field> + <field name="arch" type="xml"> + <form> + <sheet> + <group> + <group> + <field name="partner_id"/> + <field name="period"/> + <field name="omset_last_year"/> + <field name="ongoing_omset_odoo"/> + <field name="ongoing_omset_accurate"/> + <field name="ongoing_omset_adempiere"/> + </group> + </group> + </sheet> + </form> + </field> + </record> + <menuitem + id="sale_target_menu" + action="sales_target_action" + parent="sale.menu_sales_config" + sequence="2" + name="Sales Target" + /> + </data> +</odoo>
\ No newline at end of file |
