diff options
| author | HafidBuroiroh <hafidburoiroh09@gmail.com> | 2026-01-23 13:39:30 +0700 |
|---|---|---|
| committer | HafidBuroiroh <hafidburoiroh09@gmail.com> | 2026-01-23 13:39:30 +0700 |
| commit | abe9e16dff1d7b65530b258a306a6376b71c655b (patch) | |
| tree | 39cc5ecb3451820b4e030189fc55b78dd69f9be1 /indoteknik_custom/models/x_manufactures.py | |
| parent | 9e64a74e4576a150d172359999c9eb3cef8505a8 (diff) | |
<hafid> cashback brand
Diffstat (limited to 'indoteknik_custom/models/x_manufactures.py')
| -rwxr-xr-x | indoteknik_custom/models/x_manufactures.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/x_manufactures.py b/indoteknik_custom/models/x_manufactures.py index 9e214d92..0c3bfa3b 100755 --- a/indoteknik_custom/models/x_manufactures.py +++ b/indoteknik_custom/models/x_manufactures.py @@ -50,7 +50,7 @@ class XManufactures(models.Model): # 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") override_vendor_id = fields.Many2one('res.partner', string='Override Vendor') - # cashback_percent = fields.Float(string='Cashback Percent') + cashback_percent = fields.Float(string='Cashback Percent', default=0) def _compute_vendor_ids(self): for manufacture in self: |
