diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2024-08-14 13:37:16 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2024-08-14 13:37:16 +0700 |
| commit | 72befb1e3401a4c31dbf2698963ec52c5baba8cd (patch) | |
| tree | 314c9219b47c02464fb2b62922a7b3150d308132 /indoteknik_custom/views | |
| parent | 3c179deae0dbf618f6171003532dc86c48ada367 (diff) | |
| parent | ed089761d43b20ecc4190ca9d88a0bdb769d81f2 (diff) | |
Merge branch 'production' of bitbucket.org:altafixco/indoteknik-addons into production
Diffstat (limited to 'indoteknik_custom/views')
| -rw-r--r-- | indoteknik_custom/views/airway_bill.xml | 2 | ||||
| -rw-r--r-- | indoteknik_custom/views/product_sla.xml | 2 | ||||
| -rwxr-xr-x | indoteknik_custom/views/sale_order.xml | 6 |
3 files changed, 7 insertions, 3 deletions
diff --git a/indoteknik_custom/views/airway_bill.xml b/indoteknik_custom/views/airway_bill.xml index 015f20f2..626a6763 100644 --- a/indoteknik_custom/views/airway_bill.xml +++ b/indoteknik_custom/views/airway_bill.xml @@ -94,7 +94,7 @@ <field name="code">model._fetch()</field> <field name="state">code</field> <field name="priority">75</field> - <field name="active">True</field> + <field name="active">False</field> </record> <menuitem id="menu_airway_bill" diff --git a/indoteknik_custom/views/product_sla.xml b/indoteknik_custom/views/product_sla.xml index d0d3f84a..8b0e874b 100644 --- a/indoteknik_custom/views/product_sla.xml +++ b/indoteknik_custom/views/product_sla.xml @@ -48,7 +48,7 @@ <field name="code">model.generate_product_variant_id_sla(limit=150)</field> <field name="state">code</field> <field name="priority">100</field> - <field name="active">True</field> + <field name="active">False</field> </record> <menuitem id="menu_product_sla" diff --git a/indoteknik_custom/views/sale_order.xml b/indoteknik_custom/views/sale_order.xml index 04f21d83..1257ff85 100755 --- a/indoteknik_custom/views/sale_order.xml +++ b/indoteknik_custom/views/sale_order.xml @@ -43,6 +43,10 @@ attrs="{'invisible': ['|', ('applied_voucher_id', '=', False), ('state', 'not in', ['draft','sent'])]}" /> </div> + <button name="calculate_selling_price" + string="Calculate Selling Price" + type="object" + /> </field> <field name="source_id" position="attributes"> <attribute name="invisible">1</attribute> @@ -96,7 +100,7 @@ </attribute> </xpath> <xpath expr="//form/sheet/notebook/page/field[@name='order_line']/tree/field[@name='price_total']" position="after"> - <field name="vendor_id" attrs="{'readonly': [('parent.approval_status', '=', 'approved')]}"/> + <field name="vendor_id" attrs="{'readonly': [('parent.approval_status', '=', 'approved')]}" domain="[('parent_id', '=', False)]"/> <field name="purchase_price" attrs=" { 'readonly': [ |
