diff options
Diffstat (limited to 'indoteknik_custom/views/logbook_bill.xml')
| -rw-r--r-- | indoteknik_custom/views/logbook_bill.xml | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/indoteknik_custom/views/logbook_bill.xml b/indoteknik_custom/views/logbook_bill.xml new file mode 100644 index 00000000..25f1d704 --- /dev/null +++ b/indoteknik_custom/views/logbook_bill.xml @@ -0,0 +1,55 @@ +<?xml version="1.0" encoding="utf-8" ?> +<odoo> + <record id="view_logbook_bill_form" model="ir.ui.view"> + <field name="name">Logbook Bill</field> + <field name="model">logbook.bill</field> + <field name="arch" type="xml"> + <form> + <sheet> + <field name="name" invisible="1"/> + <field + name="logbook_bill_line" + mode="tree" + > + <tree editable="bottom"> + <control> + <create name="add_logbook_bill_line_control" string="Add a logbook"/> + </control> + <field name="name" required="1"/> + <field name="partner_id" readonly="1"/> + <field name="purchase_id" readonly="1"/> + <field name="invoice"/> + <field name="faktur_pajak"/> + <field name="surat_jalan"/> + <field name="proforma_invoice"/> + <field name="date_approve" readonly="1"/> + <field name="note"/> + <field name="note_finance"/> + </tree> + </field> + </sheet> + <footer> + <button name="create_logbook_bill" string="Submit" type="object" default_focus="1" class="oe_highlight"/> + <button string="Cancel" class="btn btn-secondary" special="cancel" /> + </footer> + </form> + </field> + </record> + + <record id="action_logbook_bill" model="ir.actions.act_window"> + <field name="name">Logbook Bill</field> + <field name="res_model">logbook.bill</field> + <field name="type">ir.actions.act_window</field> + <field name="view_mode">form</field> + <field name="view_id" ref="view_logbook_bill_form"/> + <field name="target">new</field> + </record> + + <menuitem + action="action_logbook_bill" + id="logbook_bill" + parent="stock.menu_stock_warehouse_mgmt" + name="Logbook Bill" + sequence="1" + /> +</odoo>
\ No newline at end of file |
