Merge pull request #48 from expsa/fix_api

fix save res.setting
This commit is contained in:
AbuzarExp 2024-07-01 12:52:09 +03:00 committed by GitHub
commit 774855468e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ class AttendanceZone(models.Model):
class ResConfigSettings(models.TransientModel):
_inherit = 'res.config.settings'
auto_checkout = fields.Integer(related="company_id.auto_checkout" ,string="Auto Checkout After")
auto_checkout = fields.Integer(related="company_id.auto_checkout" ,string="Auto Checkout After",readonly=False)
fcm_server_key = fields.Char(string='Server Key:', related="company_id.fcm_server_key", readonly=False)
sender_id = fields.Char(string='Sender ID:', related="company_id.sender_id", readonly=False)