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
[ADD] l10n_latam_check: new module #96074
Conversation
29e13c8
to
b9a618b
Compare
@jjscarafia @jco-odoo I've tested the last changes and LGTM. All sequences are working properly when changing checkbooks, and all sequences are working as expected (even when changing them). Ready for additional final tech review. |
b9a618b
to
dcc1c0b
Compare
10fe2e0
to
42abc21
Compare
Hello, @william-andre can you help me with the review of this PR, as this is a high-priority PR for AR. |
I will have a look at it after the freeze, I have quite a few of important PRs to review before this one as they are blocking for it. |
@fhe-odoo as we discussed, we are still waiting for the last technical review and approval, but it will be reviewed after the freeze is done. Still, this is a high-priority task from our end, so hopefully, it won't take too much time after the freeze is done. |
42abc21
to
bb7f660
Compare
Hello, @william-andre @jco-odoo any luck with this PR review? |
bb7f660
to
bda0109
Compare
bda0109
to
35b9699
Compare
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.
I think I don't get the point of most of this.
Regarding third party checks, why aren't we going for something that looks like a simple approach (but naive?):
- create a new model for checks not cashed in yet
- create an delete (or change the status of) these records when you receive/give them when making a payment record
I think that a lot of the complicated things/tricks from the implementation will simply disappear with that approach.
Just to give you some answers/ideas on the "why" of these 2 points (why we didn't use/create a check object, as that was one of the ideas at the beginning):
So based on the feedback on that point, from a technical perspective (no new object) and from a functional/accounting perspective (better not to split the journal items) is that we decided to move forward with the current approach of using the payment as a check (1 payment = 1 check). |
a318d4a
to
3939854
Compare
180f4a1
to
8543eda
Compare
@william-andre @jco-odoo Once you confirm it's ok we make a final squash. Can you trigger install and test of this module on runbot? Because it's not installed automatically due to be "l10n_x" |
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.
Can you trigger install and test of this module on runbot? Because it's not installed automatically due to be "l10n_x"
Done!
a1db163
to
68a47ef
Compare
@william-andre |
Upgrade exception #168 added. Waiting the forward-port of this pr, the exception will be applied on all builds, and create an inconsistent state for migrations. If you need to apply any change before it reaches master, please notify runbot team. Details:
|
@zaoral @jjscarafia A test is failing here: https://runbot.odoo.com/runbot/batch/910902/build/21547931 |
In order to make this modules to also match new module l10n_latam_check. * refactory of some methods to make it more heritable * check number now is showed only when is defined and is related to check_printing payment method.
68a47ef
to
d90960c
Compare
Hi @jco-odoo About the comment made by @Xavier-Do |
@zaoral It was solved by @Xavier-Do allowing the exception. |
New features to manage checks and managed them Odoo in latam countries where they are widely use. Own Checks Management --------------------- Extends 'Check Printing Base' module to manage own checks with more features: * allow using own checks that are not printed but filled manually by the user * allow to use deferred or electronic checks * printing is disabled * check number is set manually by the user * add an optional "Check Cash-In Date" for post-dated checks (deferred payments) * add a menu to track own checks Third Party Checks Management ----------------------------- Add new "Third party check Management" feature. There are 2 main Payment Methods additions: * New Third Party Checks: * allow the user create a check on the fly from a payment * create a third party check from a customer payment * Existing Third party check: * allow the user to reuse a Third party check already created * pay a vendor bill using an existing Third party check * move an existing checks between journals (i.e. move to Rejected) * Send/Receive again a check already used in a Vendor Bill/Customer INV * allow the user to do mass check transfers
d90960c
to
9f28c9f
Compare
Hi everyone! Good news, PR is green, including l10n staging tests! |
@robodoo r+ |
@zaoral @william-andre because this PR has multiple commits, I need to know how to merge it:
|
ping @william-andre |
@robodoo rebase-ff |
Merge method set to rebase and fast-forward. |
In order to make this modules to also match new module l10n_latam_check. * refactory of some methods to make it more heritable * check number now is showed only when is defined and is related to check_printing payment method. Part-of: #96074
In order to make this modules to also match new module l10n_latam_check. * refactory of some methods to make it more heritable * check number now is showed only when is defined and is related to check_printing payment method. Part-of: odoo#96074
New features to manage checks and managed them Odoo in latam countries where they are widely use. Own Checks Management --------------------- Extends 'Check Printing Base' module to manage own checks with more features: * allow using own checks that are not printed but filled manually by the user * allow to use deferred or electronic checks * printing is disabled * check number is set manually by the user * add an optional "Check Cash-In Date" for post-dated checks (deferred payments) * add a menu to track own checks Third Party Checks Management ----------------------------- Add new "Third party check Management" feature. There are 2 main Payment Methods additions: * New Third Party Checks: * allow the user create a check on the fly from a payment * create a third party check from a customer payment * Existing Third party check: * allow the user to reuse a Third party check already created * pay a vendor bill using an existing Third party check * move an existing checks between journals (i.e. move to Rejected) * Send/Receive again a check already used in a Vendor Bill/Customer INV * allow the user to do mass check transfers closes odoo#96074 Signed-off-by: William André (wan) <wan@odoo.com>
latam task 445
related to opw-2528442
--
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr