summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views
diff options
context:
space:
mode:
authorIT Fixcomart <it@fixcomart.co.id>2023-10-03 07:05:14 +0000
committerIT Fixcomart <it@fixcomart.co.id>2023-10-03 07:05:14 +0000
commit19e0be70679ed862453fedeba14fb4cdf02232e9 (patch)
tree69b578c47cc17ae477c58d8bda718d823b998b20 /indoteknik_custom/views
parent78f205302c35cab2512971d64c8152aab2dcfa95 (diff)
parentd238f43442cc27db0d0c05bba99b42b41eaadf54 (diff)
Merged in production (pull request #128)
Production
Diffstat (limited to 'indoteknik_custom/views')
-rw-r--r--indoteknik_custom/views/account_move.xml6
-rw-r--r--indoteknik_custom/views/apache_solr_queue.xml16
-rwxr-xr-xindoteknik_custom/views/product_template.xml1
-rwxr-xr-xindoteknik_custom/views/sale_order.xml3
-rw-r--r--indoteknik_custom/views/stock_move_line.xml24
5 files changed, 49 insertions, 1 deletions
diff --git a/indoteknik_custom/views/account_move.xml b/indoteknik_custom/views/account_move.xml
index 11558bf4..c45dab25 100644
--- a/indoteknik_custom/views/account_move.xml
+++ b/indoteknik_custom/views/account_move.xml
@@ -13,6 +13,12 @@
<field name="invoice_date" position="after">
<field name="payment_schedule" attrs="{'invisible': [('move_type', '!=', 'in_invoice')]}"/>
</field>
+ <field name="efaktur_document" position="before">
+ <field name="no_faktur_pajak" readonly="1"/>
+ </field>
+ <field name="efaktur_document" position="attributes">
+ <attribute name="widget">pdf_viewer</attribute>
+ </field>
<field name="invoice_user_id" position="after">
<field name="date_kirim_tukar_faktur"/>
<field name="shipper_faktur_id"/>
diff --git a/indoteknik_custom/views/apache_solr_queue.xml b/indoteknik_custom/views/apache_solr_queue.xml
index 3861fd20..13869b4c 100644
--- a/indoteknik_custom/views/apache_solr_queue.xml
+++ b/indoteknik_custom/views/apache_solr_queue.xml
@@ -28,6 +28,7 @@
<field name="res_model"/>
<field name="res_id"/>
<field name="function_name"/>
+ <field name="display_name" filter_domain="[('display_name', 'ilike', self)]"/>
<filter string="Active Queue" name="active_queue" domain="[('execute_status', '=', False)]"/>
</search>
</field>
@@ -58,6 +59,21 @@
</record>
<data noupdate="1">
+ <record id="cron_apache_solr_queue_delete" model="ir.cron">
+ <field name="name">Solr Queue: Delete Weekly</field>
+ <field name="interval_number">14</field>
+ <field name="interval_type">minutes</field>
+ <field name="numbercall">-1</field>
+ <field name="doall" eval="False"/>
+ <field name="model_id" ref="model_apache_solr_queue"/>
+ <field name="code">model.delete_weekly_solr()</field>
+ <field name="state">code</field>
+ <field name="priority">65</field>
+ <field name="active">True</field>
+ </record>
+ </data>
+
+ <data noupdate="1">
<record id="cron_apache_solr_queue_process" model="ir.cron">
<field name="name">Solr Queue: Process</field>
<field name="interval_number">6</field>
diff --git a/indoteknik_custom/views/product_template.xml b/indoteknik_custom/views/product_template.xml
index e09fee77..a3a23101 100755
--- a/indoteknik_custom/views/product_template.xml
+++ b/indoteknik_custom/views/product_template.xml
@@ -15,7 +15,6 @@
<field name="uom_po_id" position="after">
<field name="desc_update_solr" readonly="1" />
<field name="last_update_solr" readonly="1" />
- <field name="publish" />
</field>
<page name="inventory" position="after">
<page string="Marketplace" name="marketplace">
diff --git a/indoteknik_custom/views/sale_order.xml b/indoteknik_custom/views/sale_order.xml
index bc098f18..0d972ec1 100755
--- a/indoteknik_custom/views/sale_order.xml
+++ b/indoteknik_custom/views/sale_order.xml
@@ -41,6 +41,9 @@
<field name="source_id" position="attributes">
<attribute name="invisible">1</attribute>
</field>
+ <field name="user_id" position="after">
+ <field name="helper_by_id" readonly="1"/>
+ </field>
<field name="analytic_account_id" position="after">
<field name="customer_type" attrs="{'required': ['|', ('create_date', '&gt;', '2023-06-28'), ('create_date', '=', False)]}"/>
<field name="npwp" placeholder='99.999.999.9-999.999' attrs="{'required': ['|', ('create_date', '&gt;', '2023-06-28'), ('create_date', '=', False)]}"/>
diff --git a/indoteknik_custom/views/stock_move_line.xml b/indoteknik_custom/views/stock_move_line.xml
new file mode 100644
index 00000000..757d2522
--- /dev/null
+++ b/indoteknik_custom/views/stock_move_line.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<odoo>
+ <record id="stock_move_line_form_view_inherited" model="ir.ui.view">
+ <field name="name">Stock Move Line</field>
+ <field name="model">stock.move.line</field>
+ <field name="inherit_id" ref="stock.view_move_line_form" />
+ <field name="arch" type="xml">
+ <field name="qty_done" position="after">
+ <field name="manufacture"/>
+ </field>
+ </field>
+ </record>
+
+ <record id="stock_move_line_tree_view_inherited" model="ir.ui.view">
+ <field name="name">Stock Move Line</field>
+ <field name="model">stock.move.line</field>
+ <field name="inherit_id" ref="stock.view_move_line_tree" />
+ <field name="arch" type="xml">
+ <field name="product_id" position="after">
+ <field name="manufacture"/>
+ </field>
+ </field>
+ </record>
+</odoo>