summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2024-11-11 14:39:26 +0700
committerstephanchrst <stephanchrst@gmail.com>2024-11-11 14:39:26 +0700
commit17d46cf9f4eede8177b2373c03d5b36123f712c1 (patch)
treed59699b99fa5f067f570c7696626473a8588b472
parent9a0fd25e54491bd14a5b29b62b31a440dfa1bebc (diff)
change rec name view match requisition
-rw-r--r--indoteknik_custom/models/requisition.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/requisition.py b/indoteknik_custom/models/requisition.py
index 704ae8c0..3d9ca876 100644
--- a/indoteknik_custom/models/requisition.py
+++ b/indoteknik_custom/models/requisition.py
@@ -10,7 +10,7 @@ _logger = logging.getLogger(__name__)
class RequisitionMatchPO(models.Model):
_name = 'v.requisition.match.po'
_auto = False
- _rec_name = 'purchase_id'
+ _rec_name = 'product_id'
id = fields.Integer(string='ID')
product_id = fields.Many2one('product.product', string='Product')