-
-
Notifications
You must be signed in to change notification settings - Fork 739
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
[14.0][MIG] account_check_deposit #1088
Conversation
@alexis-via |
@alexis-via can we close this as it is duplicated? Or anything you want to add to #1082 ? |
No, this PR should not be closed. It contains several improvements that are not present in your PR. We'd better merge the best PR. |
441adc2
to
526c8ab
Compare
@Saran440 you can help review this? I agree we go with the best one. |
Test failing.
|
* Clean code * Add access rules for account_check_deposit * Change print button name
* [FIX] fix datamodel structure, indeed check_payment_ids should be a m2o. In the view we still keep the widget * [REF] remove useless state cancel, only draft/done is sufficent for now, forbid to delete a done deposit, fix move_line name need to be the equal to the line.ref for the reconciliation * [IMP] improve reconciliation between the check and the check deposit * [FIX] set correctly the date on the move line generated * [FIX] fix reconciliation of check * [IMP] check deposit improve view and add tab for move line generated * [IMP] add total amount and flag to know if the deposit have been reconcile, the best will be to add a workflow * [FIX] fix error when replaying commit * [REF] remove dependency on sale_quick_payment as check can be registred in various way like native voucher * [CLEAN] pep8 cleanup no code change * [REF] clean remove useless code, default value are called during the create * [FIX] fix wrong spelling * [REF] V7 clean up
Works with a single account journal Usability and many other enhancements
… for the payment, one for the deposit), hide unreconcile entry which a link to a deposit
Convert webkit report to qweb
* Move description from __openerp__.py to README.rst * Move files in sub-directories * FIX access rights issue when user was not accounting manager
* create move and move line at the same time * add tests
* Add option to have the counter-part of the deposit move directly to the bank account Use account.config.settings page * Remove data that create a bank journal because it blocks the loading of the chart of accounts when the module is installed at the same time as the chart of account (via dependencies)
…rnal if the offsetting account is the bank account
For avoiding constraint.
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: account-financial-tools-13.0/account-financial-tools-13.0-account_check_deposit Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-13-0/account-financial-tools-13-0-account_check_deposit/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: account-financial-tools-13.0/account-financial-tools-13.0-account_check_deposit Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-13-0/account-financial-tools-13-0-account_check_deposit/
…es, so we should always post the move
5bcc39e
to
f191edb
Compare
FYI, I plan to do the following change : remove the fields "check_deposit_offsetting_account" and "check_deposit_transfer_account_id" on res.company. The transfer account will be the bank account of the check journal. Please refer to my recent post in OCA/bank-payment#740 to understand the reasons of this change. |
I have a better idea: the transfer account will be the outstanding receipts account of the bank journal on which you do the check deposit. That way, if you have an outstanding receipts account different for each bank journal, the amounts for confirmed check deposits will be in an account which is specific to the bank on which you made the deposit. The bank account of the check journal will not be used (the suspense account of the check journal will not be used either). |
Update documentation Don't duplicate labels between name of account.move.line and ref of account.move, now that name of account.move.line is not required any more.
I implemented what I described in my previous comment. |
Add button "Get All Received Checks" Add default value for journal_id and bank_journal_id when there is only 1 possible value Add hide/show options on lines Improve multi-company handling
b786b19
to
9699aa3
Compare
If nobody is against it, I think I'll add a chatter on account.check.deposit. |
Add chatter message when you click on the button to get all checks Add unicity SQL constraint
I don't plan to make other changes. Ready to merge. |
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.
Good for me.
/ocabot merge nobump |
This PR looks fantastic, let's merge it! |
Congratulations, your PR was merged at 413f65c. Thanks a lot for contributing to OCA. ❤️ |
Thanks @kittiu for the review and merge ! |
For the moment, still in beta. I still have to clarify a few things on:
Tests have not been ported yet.
But I tested the module and it works well.