diff options
| author | Indoteknik . <andrifebriyadiputra@gmail.com> | 2025-05-09 08:01:57 +0700 |
|---|---|---|
| committer | Indoteknik . <andrifebriyadiputra@gmail.com> | 2025-05-09 08:01:57 +0700 |
| commit | efba26bf68d142168d5189c6ee2b87c6d8a2299d (patch) | |
| tree | f7954a113af7ef6f3c8df9fc94d675ff63af81f2 | |
| parent | aca89f41cf980e2ea9b7f266d4792be52d2e4aa1 (diff) | |
(andri) delete chatter pada product pricelist + item
| -rw-r--r-- | indoteknik_custom/models/product_pricelist.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/indoteknik_custom/models/product_pricelist.py b/indoteknik_custom/models/product_pricelist.py index 46d12f4d..94a9b239 100644 --- a/indoteknik_custom/models/product_pricelist.py +++ b/indoteknik_custom/models/product_pricelist.py @@ -3,8 +3,7 @@ from datetime import datetime, timedelta class ProductPricelist(models.Model): - _name = 'product.pricelist' - _inherit = ['product.pricelist', 'mail.thread', 'mail.activity.mixin'] + _inherit = 'product.pricelist' is_flash_sale = fields.Boolean(string='Flash Sale', default=False) is_show_program = fields.Boolean(string='Show Program', default=False) @@ -57,8 +56,7 @@ class ProductPricelist(models.Model): return tier_name class ProductPricelistItem(models.Model): - _name = 'product.pricelist.item' - _inherit = ['product.pricelist.item', 'mail.thread', 'mail.activity.mixin'] + _inherit = 'product.pricelist.item' manufacture_id = fields.Many2one('x_manufactures', string='Manufacture') computed_price = fields.Float(string='Computed Price')
\ No newline at end of file |
