[RFC] action traveller report name

This commit is contained in:
Dario Lodeiros
2021-06-19 10:03:06 +02:00
parent ce4063c735
commit b82a1a7cc4
5 changed files with 5 additions and 5 deletions

View File

@@ -5485,7 +5485,7 @@ msgid "Parent name"
msgstr "Nombre del Padre"
#. module: pms
#: model:ir.actions.report,name:pms.action_report_viajero
#: model:ir.actions.report,name:pms.action_traveller_report
msgid "Parte de Viajero"
msgstr ""

View File

@@ -5195,7 +5195,7 @@ msgid "Parent name"
msgstr ""
#. module: pms
#: model:ir.actions.report,name:pms.action_report_viajero
#: model:ir.actions.report,name:pms.action_traveller_report
msgid "Parte de Viajero"
msgstr ""

View File

@@ -1376,7 +1376,7 @@ class PmsReservation(models.Model):
lambda s: s.state in ("onboard", "done")
)
if checkins:
return self.env.ref("pms.action_report_viajero").report_action(checkins)
return self.env.ref("pms.action_traveller_report").report_action(checkins)
else:
raise ValidationError(_("Some checkin partners "))

View File

@@ -2,7 +2,7 @@
<odoo>
<data>
<report
id="action_report_viajero"
id="action_traveller_report"
string="Parte de Viajero"
model="pms.checkin.partner"
report_type="qweb-pdf"

View File

@@ -66,7 +66,7 @@
type="action"
class="btn-primary float-right"
icon="fa-file-pdf-o"
name="%(action_report_viajero)d"
name="%(action_traveller_report)d"
string="Print in PDF"
attrs="{'invisible': [('state','not in', ('onboard','done'))]}"
/>