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