diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2023-09-21 09:28:08 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2023-09-21 09:28:08 +0700 |
| commit | c357d6bd7586b0331b27dbe864179b1fad63bf2e (patch) | |
| tree | 7e1108529023463bdfce9d2c10865346e20926f1 /indoteknik_custom/models/solr/x_banner_banner.py | |
| parent | 33166b60a9e0e6b236f39b26e53d925d2790e9db (diff) | |
Add banner category to solr, auto sync solr banner category, fix button uang muka
Diffstat (limited to 'indoteknik_custom/models/solr/x_banner_banner.py')
| -rw-r--r-- | indoteknik_custom/models/solr/x_banner_banner.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indoteknik_custom/models/solr/x_banner_banner.py b/indoteknik_custom/models/solr/x_banner_banner.py index 5608a3d7..67739d47 100644 --- a/indoteknik_custom/models/solr/x_banner_banner.py +++ b/indoteknik_custom/models/solr/x_banner_banner.py @@ -46,8 +46,8 @@ class XBannerBanner(models.Model): 'background_color_s': banners.background_color or '', 'image_s': self.env['ir.attachment'].api_image('x_banner.banner', 'x_banner_image', banners.id), 'status_s': banners.x_status_banner or '', - 'categories': banners.x_banner_category.id or '', - 'manufactures': banners.x_relasi_manufacture.id or '', + 'category_id_i': banners.x_banner_category.id or '', + 'manufacture_id_i': banners.x_relasi_manufacture.id or '', 'group_by_week': banners.group_by_week or '', }) self.solr().add([document]) |
