summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2024-02-28 16:00:55 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2024-02-28 16:00:55 +0700
commit8bbffd2729d003284ccef10bc00f246f14f4b23e (patch)
tree24fd41f824c4644a0023de21f377fbf67a7bb8ad
parent5ae18decf744c7b62a18c8f4eddd365e7ff6173f (diff)
change to non mandatory field
-rw-r--r--indoteknik_custom/models/account_move.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/account_move.py b/indoteknik_custom/models/account_move.py
index b505850f..58e462a0 100644
--- a/indoteknik_custom/models/account_move.py
+++ b/indoteknik_custom/models/account_move.py
@@ -40,7 +40,7 @@ class AccountMove(models.Model):
new_invoice_day_to_due = fields.Integer(string="New Day Due", compute="_compute_invoice_day_to_due")
date_efaktur_upload = fields.Datetime(string='eFaktur Upload Date', tracking=True)
real_invoice_id = fields.Many2one(
- 'res.partner', string='Delivery Invoice Address', readonly=True, required=True,
+ 'res.partner', string='Delivery Invoice Address', readonly=True,
states={'draft': [('readonly', False)], 'sent': [('readonly', False)], 'sale': [('readonly', False)]},
domain="['|', ('company_id', '=', False), ('company_id', '=', company_id)]",
help="Dipakai untuk alamat tempel")