diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2025-06-12 16:18:32 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2025-06-12 16:18:32 +0700 |
| commit | 6616f73259c9e146449af3f2579263b42270bf8b (patch) | |
| tree | 0dfebb75f458c738f63593313b0e19e917e85860 /indoteknik_custom/views | |
| parent | b6f63fcf96355bc11f9843a9f661cea0a458475e (diff) | |
Revert "<hafid> commit"
This reverts commit 95cef4d4d3936f8a612dadf00e83f9cddcccc0dc, reversing
changes made to 626e93d3a0bfad2bc87002d9e0a7ae860ea9baba.
Diffstat (limited to 'indoteknik_custom/views')
| -rw-r--r-- | indoteknik_custom/views/account_move.xml | 8 | ||||
| -rwxr-xr-x | indoteknik_custom/views/purchase_order.xml | 15 | ||||
| -rwxr-xr-x | indoteknik_custom/views/sale_order.xml | 9 | ||||
| -rwxr-xr-x | indoteknik_custom/views/x_manufactures.xml | 40 |
4 files changed, 2 insertions, 70 deletions
diff --git a/indoteknik_custom/views/account_move.xml b/indoteknik_custom/views/account_move.xml index 0c2f9a68..46737a40 100644 --- a/indoteknik_custom/views/account_move.xml +++ b/indoteknik_custom/views/account_move.xml @@ -6,12 +6,6 @@ <field name="model">account.move</field> <field name="inherit_id" ref="account.view_move_form"/> <field name="arch" type="xml"> - <xpath expr="//div[@name='journal_div']" position="after"> - <field name="reklas_misc_id" - string="Journal Entries Reklas" - attrs="{'invisible': [('move_type', '!=', 'in_invoice')]}" - readonly="1"/> - </xpath> <button name="action_register_payment" position="after"> <button name="indoteknik_custom.action_view_invoice_reklas" string="Reklas" type="action" class="btn-primary" attrs="{'invisible': [('state', '!=', 'posted')]}"/> @@ -37,8 +31,6 @@ </field> <field name="ref" position="after"> <field name="sale_id" readonly="1" attrs="{'invisible': [('move_type', '!=', 'entry')]}"/> - <!-- <field name="purchase_order_id" context="{'form_view_ref': 'purchase.purchase_order_form'}" options="{'no_create': True}"/> --> - <field name="bill_id" readonly="1" attrs="{'invisible': ['|', ('move_type', '!=', 'entry'), ('purchase_order_id', '!=', False)]}"/> </field> <field name="partner_shipping_id" position="before"> <field name="real_invoice_id" readonly="1" attrs="{'invisible': [('move_type', '!=', 'out_invoice')]}"/> diff --git a/indoteknik_custom/views/purchase_order.xml b/indoteknik_custom/views/purchase_order.xml index 9084bcbb..0fbbb5e7 100755 --- a/indoteknik_custom/views/purchase_order.xml +++ b/indoteknik_custom/views/purchase_order.xml @@ -14,20 +14,6 @@ attrs="{'invisible': ['|', ('sale_order_id', '=', False), ('state', 'not in', ['draft'])]}" /> </div> - <xpath expr="//button[@name='action_view_invoice']" position="before"> - <field name="is_cab_visible" invisible="1"/> - <button type="object" - name="action_view_journal_uangmuka" - class="oe_stat_button" - icon="fa-book" - attrs="{'invisible': [('is_cab_visible', '=', False)]}" - style="width: 200px;"> - <field name="move_id" widget="statinfo" string="Journal Uang Muka"/> - <span class="o_stat_text"> - <t t-esc="record.move_id.name"/> - </span> - </button> - </xpath> <button id="draft_confirm" position="after"> <button name="po_approve" string="Ask Approval" @@ -79,7 +65,6 @@ <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="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"> <field name="total_margin"/> diff --git a/indoteknik_custom/views/sale_order.xml b/indoteknik_custom/views/sale_order.xml index 4b74825e..0fabf279 100755 --- a/indoteknik_custom/views/sale_order.xml +++ b/indoteknik_custom/views/sale_order.xml @@ -208,11 +208,6 @@ <label for="item_percent_margin"/> <field name="item_percent_margin"/> </div> - <div name="item_percent_margin_before" groups="base.group_no_one" - attrs="{'invisible': [('display_type', '!=', False)]}"> - <label for="item_percent_margin_before"/> - <field name="item_percent_margin_before"/> - </div> </div> <div name="invoice_lines" position="before"> <div name="price_subtotal" groups="base.group_no_one" @@ -244,7 +239,6 @@ attrs="{'readonly': [('parent.approval_status', '!=', False)]}" domain="[('type_tax_use','=','purchase')]" options="{'no_create':True}"/> <field name="item_percent_margin"/> - <field name="item_percent_margin_before"/> <field name="item_margin" optional="hide"/> <field name="margin_md" optional="hide"/> <field name="note" optional="hide"/> @@ -409,7 +403,7 @@ <field name="state" position="after"> <field name="approval_status"/> <field name="client_order_ref"/> - <field name="notes" optional="hide"/> + <field name="notes"/> <field name="payment_type" optional="hide"/> <field name="payment_status" optional="hide"/> <field name="pareto_status" optional="hide"/> @@ -434,7 +428,6 @@ <field name="payment_type" optional="hide"/> <field name="payment_status" optional="hide"/> <field name="pareto_status" optional="hide"/> - <field name="notes" optional="hide"/> </field> </field> </record> diff --git a/indoteknik_custom/views/x_manufactures.xml b/indoteknik_custom/views/x_manufactures.xml index 02061251..01e90a1e 100755 --- a/indoteknik_custom/views/x_manufactures.xml +++ b/indoteknik_custom/views/x_manufactures.xml @@ -3,7 +3,7 @@ <record id="x_manufactures_action" model="ir.actions.act_window"> <field name="name">Manufacture</field> <field name="res_model">x_manufactures</field> - <field name="view_mode">kanban,tree,form</field> <!-- Tambahkan kanban di sini --> + <field name="view_mode">tree,form</field> <field name="help" type="html"> <p class="o_view_nocontent_smiling_face"> Add Manufactures! @@ -11,44 +11,6 @@ </field> </record> - <record id="x_manufactures_kanban" model="ir.ui.view"> - <field name="name">Manufactures Kanban</field> - <field name="model">x_manufactures</field> - <field name="arch" type="xml"> - <kanban default_group_by="x_manufacture_level"> - <field name="id"/> <!-- Tambahkan ini --> - <field name="x_name"/> - <field name="x_logo_manufacture"/> - <field name="x_manufacture_level"/> - <templates> - <t t-name="kanban-box"> - <div class="oe_kanban_global_click"> - <div class="o_kanban_image"> - <img t-if="record.x_logo_manufacture.raw_value" - t-att-src="kanban_image('x_manufactures', 'x_logo_manufacture', record.id.raw_value)" - alt="Logo" class="img-fluid" width="64" height="64"/> - <img t-else="" - src="/web/static/src/img/placeholder.png" - alt="No Logo" class="img-fluid" width="64" height="64"/> - </div> - <div class="o_kanban_details"> - <strong><field name="x_name"/></strong> - <div> - <span class="badge badge-secondary"> - <field name="x_manufacture_level"/> - </span> - </div> - <div t-if="record.x_short_desc.raw_value"> - <small><field name="x_short_desc"/></small> - </div> - </div> - </div> - </t> - </templates> - </kanban> - </field> - </record> - <record id="x_manufactures_tree" model="ir.ui.view"> <field name="name">Manufactures</field> <field name="model">x_manufactures</field> |
