-
-
Notifications
You must be signed in to change notification settings - Fork 759
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[15.0][MIG] account_invoice_constraint_chronology #1360
[15.0][MIG] account_invoice_constraint_chronology #1360
Conversation
Hey @Shide, thank you for your Pull Request. It looks like some users haven't signed our Contributor License Agreement, yet.
Appreciation of efforts, |
0d42d9d
to
b847bef
Compare
Seems like installing Installing
Same error than runboat trying to install |
@sbidoul please could you take a quick look on #1360 (comment) about PIP and Thank you! |
vatnumber is unmaintained and does not install with the last setuptools. Odoo does not use it anymore, we must find a replacement too. |
@sbidoul Any chances to allow pip to fallaback to older versions on Runboat? |
@Shide actually setuptools is already constrained for older Odoo branches for that same reason. Since for these, it is an Odoo dependency which we can't change, there is no other solution. Here, |
/ocabot migration account_invoice_constraint_chronology |
This dependency is giving problems elsewhere and is not really used directly by this module. See OCA#1360 (comment) @moduon MT-455
I pushed the fix for the vatnumber problem. Let's see now. Regarding the PR itself, it looks good to me. |
/ocabot rebase |
@rafaelbn The rebase process failed, because command
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Functional 👍
…ice_constraint_chronology [IMP] DEFAULT_SERVER_DATE_FORMAT [IMP] display formatted date with context timezone in exception popup for account_invoice_constraint_chronology addons [ADD] Add context in tests for account_invoice_constraint_chronology addons [IMP] Use exceptions.warning for account_invoice_constraint_chronology addons [IMP] Remove exclamation mark [ADD] Add .pot file for account_invoice_constraint_chronology [IMP] Use .env for account_invoice_constraint_chronology tests [IMP] Use onchange decorator, add white space at end of file, correct ypo mistake for account_invoice_constraint_chronology [IMP] Improve performance
In order to get visibility on https://www.odoo.com/apps the OCA board has decided to add the OCA as author of all the addons maintained as part of the association.
It was not used in these tests anyway.
Addresses the issue as commented here: - OCA#1206 - OCA#1152 (comment) Summary of the steps to reproduce the problem: 1. Set on the invoices journal the constraint chronology. 2. Validate an invoice for this journal today. 3. Your accountant says there's an error on an invoice from yesterday. 4. Cancel it an set it to draft. You don't even need to modify anything 5. Try to post the invoice. 6. You'll get a chronology error. In v12 this was considered but it was lost on the migration to v13: https://github.com/OCA/account-financial-tools/blob/800c02474e5aa43cee592e93499d2a480be46d32/account_invoice_constraint_chronology/model/account_invoice.py#L50 https://github.com/OCA/account-financial-tools/blob/800c02474e5aa43cee592e93499d2a480be46d32/account_invoice_constraint_chronology/model/account_invoice.py#L70-L73 TT34624
This dependency is giving problems elsewhere and is not really used directly by this module. See OCA#1360 (comment) @moduon MT-455
7df0b27
to
7a467d7
Compare
Rebased, to see if that fixes the build. |
Please @Shide review test failures. |
Done, thanks! :) |
This PR has the |
/ocabot merge patch |
This PR looks fantastic, let's merge it! |
Congratulations, your PR was merged at 857dd4e. Thanks a lot for contributing to OCA. ❤️ |
This dependency is giving problems elsewhere and is not really used directly by this module. See OCA#1360 (comment) @moduon MT-455
This dependency is giving problems elsewhere and is not really used directly by this module. See OCA#1360 (comment) @moduon MT-455
This dependency is giving problems elsewhere and is not really used directly by this module. See OCA/account-financial-tools#1360 (comment) @moduon MT-455
Straight forward migration.
@api.onchange
method to pass pre-commitSavepointCase
toTransactionCase
on testsPlease review @yajo @rafaelbn @HaraldPanten 😄
MT-455 @moduon