summaryrefslogtreecommitdiff
path: root/fixco_custom/models/account_move.py
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2026-01-12 12:26:45 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2026-01-12 12:26:45 +0700
commitecf44f0bf4070de945baa5a2e0e3641a1a1018b7 (patch)
treecbd3d2554b5c16101ddf79057899c28dba30f2bb /fixco_custom/models/account_move.py
parentf68b59fe48c186eab40783b993c27c2fc2491832 (diff)
push reklas
Diffstat (limited to 'fixco_custom/models/account_move.py')
-rw-r--r--fixco_custom/models/account_move.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/fixco_custom/models/account_move.py b/fixco_custom/models/account_move.py
index b96bed3..f6fd742 100644
--- a/fixco_custom/models/account_move.py
+++ b/fixco_custom/models/account_move.py
@@ -55,6 +55,7 @@ class AccountMove(models.Model):
copy=False,
tracking=True
)
+ reklas_id = fields.Many2one('account.move', string='Nomor CAB', domain="[('move_type','=','entry')]", copy=False)
def reject_refund(self):
if self.move_type == 'entry' and self.sale_id and self.ref.startswith('UANG MUKA PENJUALAN') and self.env.user.id in [9, 10, 15]: