Skip to content

Conversation

@JasminSForgeFlow
Copy link
Contributor

@JasminSForgeFlow JasminSForgeFlow commented Mar 25, 2025

Copy link
Contributor

@AndreuOForgeFlow AndreuOForgeFlow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor change 👍 . I'd also add in a separate commit the reference to the dependency at OCA/account-payment#792, as seen here in the documentation: https://github.com/OCA/maintainer-tools/wiki/Use-temporary-reference%28s%29-to-another-pull-request%28s%29

(4, self.invoice.journal_id.id),
],
"partner_ids": [(4, self.partner_a.id)],
"allow_blocked": True,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"allow_blocked": True,

This field was removed in the migration of the dependency account_payment_order, here: 43c010f

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done, Thanks

@JasminSForgeFlow JasminSForgeFlow force-pushed the 18.0-mig-account_payment_order_return branch from 02a0869 to fac3a87 Compare May 13, 2025 03:46
@AndreuOForgeFlow
Copy link
Contributor

Hi @JasminSForgeFlow, in order to make testing possible, please add the dependency (account-payment/#792) in the test-requirements in a separate commit, as described in https://github.com/OCA/maintainer-tools/wiki/Use-temporary-reference%28s%29-to-another-pull-request%28s%29

@JasminSForgeFlow JasminSForgeFlow force-pushed the 18.0-mig-account_payment_order_return branch from 9409119 to 72cf94c Compare May 13, 2025 11:40
@JasminSForgeFlow
Copy link
Contributor Author

Hi @JasminSForgeFlow, in order to make testing possible, please add the dependency (account-payment/#792) in the test-requirements in a separate commit, as described in https://github.com/OCA/maintainer-tools/wiki/Use-temporary-reference%28s%29-to-another-pull-request%28s%29

Done, thanks

Copy link
Contributor

@AndreuOForgeFlow AndreuOForgeFlow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@@ -0,0 +1 @@
odoo-addon-account_payment_return@git+https://github.com/OCA/account-payment.git@refs/pull/792/head#subdirectory=account_payment_return
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
odoo-addon-account_payment_return@git+https://github.com/OCA/account-payment.git@refs/pull/792/head#subdirectory=account_payment_return
odoo-addon-account_payment_return@git+https://github.com/OCA/account-payment.git@refs/pull/833/head#subdirectory=account_payment_return

Hi @JasminSForgeFlow. It seems that this is the dependency (OCA/account-payment#833) that's active now. The other PR is closed.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated, Thanks

@JasminSForgeFlow JasminSForgeFlow force-pushed the 18.0-mig-account_payment_order_return branch from 72cf94c to 67ad6f1 Compare June 20, 2025 03:57
@AndreuOForgeFlow
Copy link
Contributor

Hi @JasminSForgeFlow, I see that account_payment_return is merged now. You can now rebase and remove the commit [DON'T MERGE] test-requirements.txt, so that all the tests can be in green

@JasminSForgeFlow JasminSForgeFlow force-pushed the 18.0-mig-account_payment_order_return branch from 67ad6f1 to 62da763 Compare August 8, 2025 05:08
@JasminSForgeFlow
Copy link
Contributor Author

Hi @JasminSForgeFlow, I see that account_payment_return is merged now. You can now rebase and remove the commit [DON'T MERGE] test-requirements.txt, so that all the tests can be in green

Done, Thanks

Luis M. Ontalba and others added 18 commits October 23, 2025 10:29
:100644 100644 d46b131 a23b471 M	account_payment_order_return/README.rst
:100644 100644 340d1c7 1235bcb M	account_payment_order_return/__manifest__.py
:100644 100644 a341cc9 be7d7bb M	account_payment_order_return/i18n/account_payment_order_return.pot
:100644 100644 60be6ab e6b32b3 M	account_payment_order_return/readme/CONTRIBUTORS.rst
:100644 100644 a8591d0 826c26d M	account_payment_order_return/readme/USAGE.rst
:100644 100644 450f2d9 a5f5d97 M	account_payment_order_return/static/description/index.html
fix domain in payment_order_return in order to avoid problems with moves without associated invoice as discused at OCA#718
Don't post the invoice if it is already posted.
See odoo/odoo@80c2818
When the test hour is around midnight, and demo data using CET/CEST
timezones, current code fails due to some asserts not having this into
consideration. This fix avoids such problem, and irons the execution
no matter the hour.
- Include context keys for avoiding mail operations overhead.
mymage and others added 2 commits October 23, 2025 10:29
Comment on lines 24 to 33
cls.env = cls.env(
context=dict(
cls.env.context,
mail_create_nolog=True,
mail_create_nosubscribe=True,
mail_notrack=True,
no_reset_password=True,
tracking_disable=True,
)
)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please import this from https://github.com/odoo/odoo/blob/de678f78869d6eec894f36662e19c2bae1355610/odoo/addons/base/tests/common.py#L11C1-L11C22

from odoo.addons.base.tests.common import DISABLED_MAIL_CONTEXT

"invoice_line_ids": [
(
0,
0,
{
"product_id": cls.product_a.id,
"price_unit": 1000.0,
"tax_ids": [],
},
)
],
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"invoice_line_ids": [
(
0,
0,
{
"product_id": cls.product_a.id,
"price_unit": 1000.0,
"tax_ids": [],
},
)
],
"invoice_line_ids": [
Command.create(
{
"product_id": cls.product_a.id,
"price_unit": 1000.0,
"tax_ids": [],
},
)
],

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I implemented your suggestions @carlos-lopez-tecnativa. Thanks for the review! :)

@LauraCForgeFlow LauraCForgeFlow force-pushed the 18.0-mig-account_payment_order_return branch from a632115 to d482412 Compare October 23, 2025 14:14
Copy link
Contributor

@carlos-lopez-tecnativa carlos-lopez-tecnativa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM
TT54089
@pedrobaeza could you please review this?

@OCA-git-bot
Copy link
Contributor

This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖

Copy link
Member

@pedrobaeza pedrobaeza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

18.0 migration diff reviewed.

/ocabot migration account_payment_order_return
/ocabot merge nobump

@OCA-git-bot OCA-git-bot added this to the 18.0 milestone Oct 23, 2025
@OCA-git-bot
Copy link
Contributor

This PR looks fantastic, let's merge it!
Prepared branch 18.0-ocabot-merge-pr-1436-by-pedrobaeza-bump-nobump, awaiting test results.

@OCA-git-bot OCA-git-bot mentioned this pull request Oct 23, 2025
19 tasks
@OCA-git-bot OCA-git-bot merged commit fb95e36 into OCA:18.0 Oct 23, 2025
7 checks passed
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at 2af41f0. Thanks a lot for contributing to OCA. ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.