mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[ADD]pms_api_rest: transactions post and get
This commit is contained in:
@@ -16,6 +16,11 @@ class AccountPayment(models.Model):
|
||||
help="Transaction type for PMS API",
|
||||
compute="_compute_pms_api_transaction_type",
|
||||
)
|
||||
internal_transfer_id = fields.Many2one(
|
||||
"account.payment",
|
||||
string="Internal Transfer Relation",
|
||||
help="Internal transfer relation",
|
||||
)
|
||||
|
||||
@api.depends("payment_type", "partner_type")
|
||||
def _compute_pms_api_transaction_type(self):
|
||||
|
||||
Reference in New Issue
Block a user