mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[IMP] reference value for payment_transactions changed
This commit is contained in:
@@ -22,6 +22,7 @@ class PaymentTransaction(models.Model):
|
|||||||
return super(PaymentTransaction, self)._create_payment(add_payment_vals)
|
return super(PaymentTransaction, self)._create_payment(add_payment_vals)
|
||||||
|
|
||||||
def render_folio_button(self, folio, submit_txt=None, render_values=None):
|
def render_folio_button(self, folio, submit_txt=None, render_values=None):
|
||||||
|
self.reference = "Reservation payment - Folio " + str(folio.name)
|
||||||
values = {
|
values = {
|
||||||
"partner_id": folio.partner_id.id,
|
"partner_id": folio.partner_id.id,
|
||||||
"type": self.type,
|
"type": self.type,
|
||||||
|
|||||||
Reference in New Issue
Block a user