summaryrefslogtreecommitdiff
path: root/fixco_custom/views/purchasing_job.xml
diff options
context:
space:
mode:
Diffstat (limited to 'fixco_custom/views/purchasing_job.xml')
-rw-r--r--fixco_custom/views/purchasing_job.xml20
1 files changed, 19 insertions, 1 deletions
diff --git a/fixco_custom/views/purchasing_job.xml b/fixco_custom/views/purchasing_job.xml
index 7a15160..cb5126a 100644
--- a/fixco_custom/views/purchasing_job.xml
+++ b/fixco_custom/views/purchasing_job.xml
@@ -7,13 +7,15 @@
<field name="arch" type="xml">
<tree string="Procurement Monitoring by Product" create="false" delete="false">
<field name="item_code"/>
- <field name="product"/>
+ <field name="product_id"/>
<field name="brand_id"/>
<field name="vendor_id"/>
<field name="onhand"/>
<field name="incoming"/>
<field name="outgoing"/>
<field name="action"/>
+ <field name="note" widget="text"/>
+ <button name="action_open_note_wizard" string="Add Note" type="object" class="btn-primary"/>
</tree>
</field>
</record>
@@ -29,6 +31,22 @@
</field>
</record>
+ <record id="view_purchasing_job_note_wizard_form" model="ir.ui.view">
+ <field name="name">purchasing.job.note.wizard.form</field>
+ <field name="model">purchasing.job.note.wizard</field>
+ <field name="arch" type="xml">
+ <form string="Note for Product">
+ <group>
+ <field name="note" placeholder="Masukkan catatan kamu..."/>
+ </group>
+ <footer>
+ <button string="Confirm" type="object" name="action_confirm" class="btn-primary"/>
+ <button string="Cancel" class="btn-secondary" special="cancel"/>
+ </footer>
+ </form>
+ </field>
+ </record>
+
<record id="action_create_automatic_purchase_purchasing_job" model="ir.actions.server">
<field name="name">Create Automatic Purchase</field>
<field name="model_id" ref="model_purchasing_job"/>