diff options
| author | IT Fixcomart <it@fixcomart.co.id> | 2023-07-27 04:18:27 +0000 |
|---|---|---|
| committer | IT Fixcomart <it@fixcomart.co.id> | 2023-07-27 04:18:27 +0000 |
| commit | e64105b97b5da3218e3dfbe5db4456b31f08ca73 (patch) | |
| tree | 332eadffa49d97696aa53dc9c10bfd1cc0537e74 /indoteknik_custom/views | |
| parent | 591617f043789ef66a76b7e97e6886b3412369e4 (diff) | |
| parent | 421ff67560201e8155d03cbe4ff7029cd6b667a4 (diff) | |
Merged in production (pull request #74)
Production
Diffstat (limited to 'indoteknik_custom/views')
| -rw-r--r-- | indoteknik_custom/views/account_move.xml | 11 | ||||
| -rwxr-xr-x | indoteknik_custom/views/sale_order.xml | 6 |
2 files changed, 16 insertions, 1 deletions
diff --git a/indoteknik_custom/views/account_move.xml b/indoteknik_custom/views/account_move.xml index 26168561..11558bf4 100644 --- a/indoteknik_custom/views/account_move.xml +++ b/indoteknik_custom/views/account_move.xml @@ -59,6 +59,17 @@ </field> </record> + <record id="account_move_in_invoice_tree_inherit" model="ir.ui.view"> + <field name="name">Account Move</field> + <field name="model">account.move</field> + <field name="inherit_id" ref="account.view_in_invoice_tree"/> + <field name="arch" type="xml"> + <field name="payment_state" position="after"> + <field name="payment_schedule" optional="hide"/> + </field> + </field> + </record> + <record id="account_move_inherit_purchase_inherit" model="ir.ui.view"> <field name="name">Account Move</field> <field name="model">account.move</field> diff --git a/indoteknik_custom/views/sale_order.xml b/indoteknik_custom/views/sale_order.xml index 4570f43b..ae16f649 100755 --- a/indoteknik_custom/views/sale_order.xml +++ b/indoteknik_custom/views/sale_order.xml @@ -41,7 +41,7 @@ <field name="carrier_id" required="1"/> <field name="delivery_service_type" readonly="1"/> </field> - <field name="source_id" position="after"> + <field name="medium_id" position="after"> <field name="date_doc_kirim" readonly="1"/> <field name="notification" readonly="1"/> </field> @@ -56,6 +56,10 @@ } </attribute> </xpath> + <field name="source_id" position="attributes"> + <attribute name="domain">[('id', 'in', [32, 59, 60, 61])]</attribute> + <attribute name="required">1</attribute> + </field> <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="purchase_price" attrs=" |
