summaryrefslogtreecommitdiff
path: root/fixco_custom/models/account_move.py
diff options
context:
space:
mode:
authorMqdd <ahmadmiqdad27@gmail.com>2026-01-13 11:07:47 +0700
committerMqdd <ahmadmiqdad27@gmail.com>2026-01-13 11:07:47 +0700
commitfc6426726da32814736d7e692448fbd08b95cafc (patch)
tree6c995522897ccc5c95e242e1a86c2b9cff62ad0f /fixco_custom/models/account_move.py
parentbf7d9f44c24a80bd8fd142ab5a57c0ba32c081ef (diff)
parentecf44f0bf4070de945baa5a2e0e3641a1a1018b7 (diff)
Merge branch 'main' of https://bitbucket.org/altafixco/fixco-addons into bills_add_item_po
merge
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 7886b71..e605f15 100644
--- a/fixco_custom/models/account_move.py
+++ b/fixco_custom/models/account_move.py
@@ -74,6 +74,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]: