diff options
Diffstat (limited to 'indoteknik_custom/views')
| -rw-r--r-- | indoteknik_custom/views/purchasing_job.xml | 8 | ||||
| -rw-r--r-- | indoteknik_custom/views/purchasing_job_state.xml | 17 |
2 files changed, 25 insertions, 0 deletions
diff --git a/indoteknik_custom/views/purchasing_job.xml b/indoteknik_custom/views/purchasing_job.xml index bad4b938..8f9be1de 100644 --- a/indoteknik_custom/views/purchasing_job.xml +++ b/indoteknik_custom/views/purchasing_job.xml @@ -16,6 +16,7 @@ <field name="outgoing"/> <field name="status_apo"/> <field name="action"/> + <field name="note"/> </tree> </field> </record> @@ -25,6 +26,12 @@ <field name="model">v.purchasing.job</field> <field name="arch" type="xml"> <form create="false" edit="false"> + <header> + <button name="redirect_to_pjs" + string="Add Note!" + type="object" + /> + </header> <sheet> <group> <group> @@ -39,6 +46,7 @@ <field name="incoming"/> <field name="outgoing"/> <field name="purchase_representative_id"/> + <field name="note"/> </group> </group> </sheet> diff --git a/indoteknik_custom/views/purchasing_job_state.xml b/indoteknik_custom/views/purchasing_job_state.xml new file mode 100644 index 00000000..c7c40020 --- /dev/null +++ b/indoteknik_custom/views/purchasing_job_state.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="utf-8" ?> +<odoo> + <record id="purchasing_job_state_form" model="ir.ui.view"> + <field name="name">purchasing.job.state.form</field> + <field name="model">purchasing.job.state</field> + <field name="arch" type="xml"> + <form> + <sheet> + <group> + <field name="status_apo" readonly="1"/> + <field name="note"/> + </group> + </sheet> + </form> + </field> + </record> +</odoo>
\ No newline at end of file |
