diff options
| author | Miqdad <ahmadmiqdad27@gmail.com> | 2025-07-03 19:56:23 +0700 |
|---|---|---|
| committer | Miqdad <ahmadmiqdad27@gmail.com> | 2025-07-03 19:56:23 +0700 |
| commit | 1991342a572fd6a3a4f9b2c988db939748125e4c (patch) | |
| tree | 556759d4f7c098728c49b16958a2a940a6c55302 /indoteknik_custom/views | |
| parent | de50bcf16b21abf7b8e45fb59b366c594bc00038 (diff) | |
| parent | db60e29b2f599ac21e96ffdfb5be94e3c0ba6a2f (diff) | |
Merge branch 'odoo-backup' of https://bitbucket.org/altafixco/indoteknik-addons into tukar_guling
Diffstat (limited to 'indoteknik_custom/views')
| -rw-r--r-- | indoteknik_custom/views/mrp_production.xml | 2 | ||||
| -rwxr-xr-x | indoteknik_custom/views/purchase_order.xml | 3 | ||||
| -rw-r--r-- | indoteknik_custom/views/res_partner.xml | 11 |
3 files changed, 12 insertions, 4 deletions
diff --git a/indoteknik_custom/views/mrp_production.xml b/indoteknik_custom/views/mrp_production.xml index 3de52a08..5057415f 100644 --- a/indoteknik_custom/views/mrp_production.xml +++ b/indoteknik_custom/views/mrp_production.xml @@ -11,7 +11,7 @@ <field name="bom_id" position="after"> <field name="desc"/> <field name="sale_order"/> - <field name="is_po"/> + <field name="is_po" readonly="1"/> </field> <xpath expr="//form/sheet/notebook/page/field[@name='move_raw_ids']/tree/field[@name='product_uom_qty']" position="before"> <field name="vendor_id"/> diff --git a/indoteknik_custom/views/purchase_order.xml b/indoteknik_custom/views/purchase_order.xml index 530fd115..dae23eed 100755 --- a/indoteknik_custom/views/purchase_order.xml +++ b/indoteknik_custom/views/purchase_order.xml @@ -87,7 +87,8 @@ <field name="payment_term_id"/> <field name="total_cost_service" attrs="{'required': [('partner_id', 'in', [9688, 29712])]}"/> <field name="total_delivery_amt" attrs="{'required': [('partner_id', 'in', [9688, 29712])]}"/> - <field name="product_bom_id"/> + <field name="product_bom_id" attrs="{'invisible': [('product_bom_id', '=', None)]}"/> + <field name="manufacturing_id" attrs="{'invisible': [('product_bom_id', '=', None)]}"/> <!-- <field name="move_id" domain="[('move_type','=','entry')]" context="{'form_view_ref': 'account.view_move_form'}" options="{'no_create': True}"/> --> </field> <field name="amount_total" position="after"> diff --git a/indoteknik_custom/views/res_partner.xml b/indoteknik_custom/views/res_partner.xml index 6115587b..ac4d0364 100644 --- a/indoteknik_custom/views/res_partner.xml +++ b/indoteknik_custom/views/res_partner.xml @@ -108,6 +108,13 @@ <xpath expr="//field[@name='property_supplier_payment_term_id']" position="attributes"> <attribute name="readonly">1</attribute> </xpath> + <xpath expr="//notebook/page[@name='accounting']" position="inside"> + <group string="Aging Info"> + <field name="avg_aging" readonly="1"/> + <field name="payment_difficulty" attrs="{'readonly': [('parent_id', '!=', False)]}" /> + <field name="payment_history_url" readonly="1" /> + </group> + </xpath> <notebook> <page string="Pengajuan Tempo"> <!-- Informasi Usaha Section --> @@ -181,11 +188,11 @@ <field name="dokumen_pengiriman_input"/> <field name="dokumen_invoice"/> </group> - <group string="Aging Info"> + <!-- <group string="Aging Info"> <field name="avg_aging" readonly="1"/> <field name="payment_difficulty" attrs="{'readonly': [('parent_id', '!=', False)]}" /> <field name="payment_history_url" readonly="1" /> - </group> + </group> --> </group> <!-- Supplier Lines Section --> |
