Skip to content

Commit

Permalink
fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! [ADD] portal_…
Browse files Browse the repository at this point in the history
…event_tickets
  • Loading branch information
em230418 committed Oct 14, 2024
1 parent ec6e833 commit 30d56de
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion portal_event_tickets/static/src/js/ticket_transfer.tour.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ odoo.define("portal_event_tickets.ticket_transfer_tour", function (require) {
},
{
content: "We are redirected to /my/tickets page",
trigger: "h3:contains(Your Tickets)",
trigger: ".breadcrumb-item:contains(Tickets)",
run: function () {
// It's needed to don't make a click on the link
},
Expand Down
4 changes: 3 additions & 1 deletion portal_event_tickets/tests/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,9 @@ def _create_ticket(self, ticket_type, partner, event):
sale_order_line = self.env["sale.order.line"].create(
{
"product_id": product.id,
"price_unit": 190.50,
# we set price_unit to 0
# to confirm registration via registration.editor
"price_unit": 0,
"product_uom": self.env.ref("uom.product_uom_unit").id,
"product_uom_qty": 1.0,
"order_id": sale_order.id,
Expand Down
2 changes: 1 addition & 1 deletion portal_event_tickets/views/portal_templates.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
>
<xpath expr="//div[hasclass('o_portal_docs')]" position="inside">
<t t-call="portal.portal_docs_entry">
<t t-set="title">Your Tickets</t>
<t t-set="title">Tickets</t>
<t t-set="url" t-value="'/my/tickets'" />
<t t-set="placeholder_count" t-value="'tickets_count'" />
</t>
Expand Down

0 comments on commit 30d56de

Please sign in to comment.