From bdb6254e57f12988a5385af4efdd0867e3d5a5eb Mon Sep 17 00:00:00 2001 From: Andhitia Rama Date: Sun, 13 Oct 2024 00:43:47 +0700 Subject: [PATCH] [UPD] ssi_revenue_recognition * Melengkapi search view pada revenue recognition --- .../models/revenue_recognition.py | 1 + .../views/revenue_recognition_views.xml | 36 +++++++++++++++++++ 2 files changed, 37 insertions(+) diff --git a/ssi_revenue_recognition/models/revenue_recognition.py b/ssi_revenue_recognition/models/revenue_recognition.py index de23d7c..3b22d77 100644 --- a/ssi_revenue_recognition/models/revenue_recognition.py +++ b/ssi_revenue_recognition/models/revenue_recognition.py @@ -163,6 +163,7 @@ class RevenueRecognition(models.Model): product_id = fields.Many2one( string="Product", related="performance_obligation_id.product_id", + store=True, ) move_line_ids = fields.Many2many( string="Move Lines", diff --git a/ssi_revenue_recognition/views/revenue_recognition_views.xml b/ssi_revenue_recognition/views/revenue_recognition_views.xml index 0b150d8..579f093 100644 --- a/ssi_revenue_recognition/views/revenue_recognition_views.xml +++ b/ssi_revenue_recognition/views/revenue_recognition_views.xml @@ -16,6 +16,12 @@ + + + + + + + + + + + +