diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2023-02-23 10:45:13 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2023-02-23 10:45:13 +0700 |
| commit | eb805076e595f1c757c29357c3e581c89d492138 (patch) | |
| tree | 10ba613372eb7469342e1d8d34561ca6dd885b8c /indoteknik_custom/models/user_company_request.py | |
| parent | b94e4ff577c023d0ce1717c01c6080efc988acb7 (diff) | |
| parent | 5c9214c1c846e61c5356e1b19341b070c2303198 (diff) | |
Merge branch 'staging' of bitbucket.org:altafixco/indoteknik-addons into staging
Diffstat (limited to 'indoteknik_custom/models/user_company_request.py')
| -rw-r--r-- | indoteknik_custom/models/user_company_request.py | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/indoteknik_custom/models/user_company_request.py b/indoteknik_custom/models/user_company_request.py new file mode 100644 index 00000000..c69b789c --- /dev/null +++ b/indoteknik_custom/models/user_company_request.py @@ -0,0 +1,15 @@ +from odoo import models, fields + + +class UserCompanyRequest(models.Model): + _name = 'user.company.request' + _rec_name = 'user_id' + + user_id = fields.Many2one('res.partner', string='User') + user_company_id = fields.Many2one('res.partner', string='Company') + user_input = fields.Char(string='User Input') + is_approve = fields.Selection([ + ('approved', 'Approve'), + ('rejected', 'Reject'), + ], string='Approval') +
\ No newline at end of file |
