summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views/account_move_line.xml
diff options
context:
space:
mode:
authorHafidBuroiroh <hafidburoiroh09@gmail.com>2026-03-06 14:50:49 +0700
committerHafidBuroiroh <hafidburoiroh09@gmail.com>2026-03-06 14:50:49 +0700
commit9bcbad313a3101a10658e51f2475f8dfd6414c55 (patch)
treebb8d5fa714960e1dbf1ec5b4869c21abf942f818 /indoteknik_custom/views/account_move_line.xml
parent5c20bda1e65d72088af744481abf0784d30b710e (diff)
parent1d61c5c2f29270d2d1e9c84e887e9c94416d9027 (diff)
Merge branch 'odoo-backup' of https://bitbucket.org/altafixco/indoteknik-addons into refund_system
Diffstat (limited to 'indoteknik_custom/views/account_move_line.xml')
-rw-r--r--indoteknik_custom/views/account_move_line.xml15
1 files changed, 15 insertions, 0 deletions
diff --git a/indoteknik_custom/views/account_move_line.xml b/indoteknik_custom/views/account_move_line.xml
index cb24a0f0..346494f3 100644
--- a/indoteknik_custom/views/account_move_line.xml
+++ b/indoteknik_custom/views/account_move_line.xml
@@ -9,6 +9,9 @@
<!-- <xpath expr="//page[@id='aml_tab']/field[@name='line_ids']" position="attributes">
<attribute name="attrs">{'readonly': [('refund_id','!=',False)]}</attribute>
</xpath> -->
+ <xpath expr="//field[@name='line_ids']/tree/field[@name='credit']" position="after">
+ <field name="date_maturity" optional="hide"/>
+ </xpath>
<xpath expr="//page[@id='aml_tab']/field[@name='line_ids']/tree/field[@name='currency_id']" position="before">
<field name="is_required" invisible="1"/>
</xpath>
@@ -22,4 +25,16 @@
</field>
</record>
</data>
+ <data>
+ <record id="action_gl_reconcile_server" model="ir.actions.server">
+ <field name="name">Reconcile Selected</field>
+ <field name="model_id" ref="account.model_account_move_line"/>
+ <field name="binding_model_id" ref="account.model_account_move_line"/>
+ <field name="binding_view_types">list</field>
+ <field name="state">code</field>
+ <field name="code">
+ action = records.action_gl_reconcile()
+ </field>
+ </record>
+ </data>
</odoo>