diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2023-10-25 14:05:01 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2023-10-25 14:05:01 +0700 |
| commit | 8cba1eaa340eb0c6b264672b0a47dc1628c2eb04 (patch) | |
| tree | 6549a2d6bccb201306529503516a16dd3806e3a1 /indoteknik_custom/models/x_manufactures.py | |
| parent | c35137e5a43afeb6a45b7f213f9ab40afb75fb4c (diff) | |
initial commit for split automatic purchase
Diffstat (limited to 'indoteknik_custom/models/x_manufactures.py')
| -rwxr-xr-x | indoteknik_custom/models/x_manufactures.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indoteknik_custom/models/x_manufactures.py b/indoteknik_custom/models/x_manufactures.py index e48a5367..abedf0cf 100755 --- a/indoteknik_custom/models/x_manufactures.py +++ b/indoteknik_custom/models/x_manufactures.py @@ -47,6 +47,8 @@ class XManufactures(models.Model): parent_id = fields.Many2one('x_manufactures', string='Parent', help='Parent Brand tersebut') category_ids = fields.Many2many('product.public.category', string='Category', help='Brand tsb memiliki Category apa saja') vendor_ids = fields.Many2many('res.partner', string='Vendor', compute='_compute_vendor_ids') + # user_id = fields.Many2one('res.users', string='Responsible', domain="['|'('id', '=', 19), ('id', '=', 6)]", help="Siapa yang bertanggung jawab") + user_id = fields.Many2one('res.users', string='Responsible', help="Siapa yang bertanggung jawab") def _compute_vendor_ids(self): for manufacture in self: |
