Skip to content

Commit

Permalink
T1188 FIX MyCompassion layout
Browse files Browse the repository at this point in the history
  • Loading branch information
ecino committed May 14, 2024
1 parent 0ce7123 commit 85aba37
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,13 @@

@openupgrade.migrate()
def migrate(env, version):
env.cr.execute("""
env.cr.execute(
"""
UPDATE account_move_line ml
SET crowdfunding_participant_id = il.crowdfunding_participant_id
FROM account_invoice_line il
WHERE ml.old_invoice_line_id = il.id
AND il.crowdfunding_participant_id IS NOT NULL
""")
"""
)
env["product.template"].search([]).recompute_amount()
4 changes: 2 additions & 2 deletions my_compassion/templates/my_account_my_children.xml
Original file line number Diff line number Diff line change
Expand Up @@ -525,9 +525,9 @@
<!-- Display the correspondence with the selected child -->
<template id="my_children_letters">
<hr />
<h3>Letters history</h3>
<h3 id="letters_section">Letters history</h3>
<a class="btn btn-primary mt-4" href="/my/letter">Write a letter</a>
<div id="letters_section" class="row mt-4">
<div class="row mt-4">
<div class="col-md-6">
<t
t-set="letters_to_display"
Expand Down
2 changes: 1 addition & 1 deletion my_compassion/templates/my_account_personal_info.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<t t-set="selected" t-value="'info'" />
<t t-set="additional_title">My personal data</t>
<t t-call="portal.frontend_layout">
<div class="container">
<div class="container mb-4">
<div class="row">
<!-- Coordinates info -->
<div class="col-md-6">
Expand Down
2 changes: 1 addition & 1 deletion theme_compassion/static/src/scss/primary_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ $o-website-values-palettes: (
"headings-font": "Montserrat",
"navbar-font": "Montserrat",
"buttons-font": "Montserrat",
"header-template": "hamburger",
"header-template": "vertical",
"hamburger-type": "off-canvas",
"hamburger-position": "left",
"footer-template": "links",
Expand Down

0 comments on commit 85aba37

Please sign in to comment.