[IMP]pms_api_rest: Improvement in the handling of requests from external apps through the API

This commit is contained in:
Darío Lodeiros
2024-02-25 11:42:43 +01:00
parent a07aba7188
commit 72ef8c73f0
4 changed files with 55 additions and 42 deletions

View File

@@ -27,12 +27,6 @@ class ResUsers(models.Model):
help="PMS API Client",
)
pms_api_payment_journal_id = fields.Many2one(
string="Payment Journal",
help="Payment Journal",
comodel_name="account.journal",
)
def _get_default_avail_rule_fields(self):
default_avail_rule_fields = self.env["ir.model.fields"].search(
[