diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2025-07-22 11:11:34 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2025-07-22 11:11:34 +0700 |
| commit | 737d6932676242ad4aae7f7c175ea98d5b00f437 (patch) | |
| tree | 0da618be66f96ccb053ddbe5a1161fc60cd7186d /fixco_custom/models/product_product.py | |
| parent | 10e171ea5389873fea3fb13c90242b322a37a990 (diff) | |
odoo fixco
Diffstat (limited to 'fixco_custom/models/product_product.py')
| -rwxr-xr-x | fixco_custom/models/product_product.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fixco_custom/models/product_product.py b/fixco_custom/models/product_product.py index 5117104..72e7ecd 100755 --- a/fixco_custom/models/product_product.py +++ b/fixco_custom/models/product_product.py @@ -18,6 +18,8 @@ class ProductProduct(models.Model): barcode_box = fields.Char("Barcode Box") qr_code_variant = fields.Binary("QR Code Variant", compute='_compute_qr_code_variant') qty_multiple = fields.Float('Multiple') + brand_id = fields.Many2one('brands', string='Brand') + product_public_category_id = fields.Many2one('product.public.category', string='Public Categories') def check_multiple_qty(self, other_qty): if self.qty_multiple > 0 and other_qty > 0: |
