diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2024-09-20 16:40:24 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2024-09-20 16:40:24 +0700 |
| commit | 3f8fd250ee63ad4db48d45284f055bda641fec08 (patch) | |
| tree | 7c0fd3fcbcf6ca8c168923363d021da221ffef06 | |
| parent | cabac3c1d89beb6a86e58be820a06d85607c8313 (diff) | |
<iman> update new register user company namer
| -rwxr-xr-x | indoteknik_custom/models/res_users.py | 1 | ||||
| -rw-r--r-- | indoteknik_custom/models/users.py | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/res_users.py b/indoteknik_custom/models/res_users.py index d8eb348a..5e16aad1 100755 --- a/indoteknik_custom/models/res_users.py +++ b/indoteknik_custom/models/res_users.py @@ -12,7 +12,6 @@ class ResUsers(models.Model): otp_code = fields.Char(string='OTP Code') otp_create_date = fields.Datetime(string='OTP Create Date') payment_terms_id = fields.Many2one('account.payment.term', related='partner_id.property_payment_term_id', string='Payment Terms') - user_company_name = fields.Char(string="User Company Name") def _generate_otp(self): diff --git a/indoteknik_custom/models/users.py b/indoteknik_custom/models/users.py index d95b56e7..981d787f 100644 --- a/indoteknik_custom/models/users.py +++ b/indoteknik_custom/models/users.py @@ -14,6 +14,7 @@ class Users(models.Model): is_admin_reconcile = fields.Boolean(string='Admin Reconcile', help='Berhak Mengedit Journal Reconcile') is_inbound = fields.Boolean(string='Operator Inbound') is_outbound = fields.Boolean(string='Operator Outbound') + user_company_name = fields.Char(string="User Company Name") def notify_internal_users(self, message, title): users = self.search([('share', '=', False)]) |
