Skip to content
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

16.0 mig account banking mandate #973

Closed
wants to merge 119 commits into from

Conversation

wpichler
Copy link
Contributor

#964

Needs #972

@wpichler wpichler force-pushed the 16.0-mig-account_banking_mandate branch 2 times, most recently from a843cd2 to 27c620f Compare October 25, 2022 07:56
Comment on lines 265 to 282
(
"user_type_id",
"=",
self.env.ref("account.data_account_type_receivable").id,
),
("company_id", "=", self.company.id),
],
limit=1,
)
invoice_line_account = (
self.env["account.account"]
.search(
[
(
"user_type_id",
"=",
self.env.ref("account.data_account_type_expenses").id,
),
Copy link
Contributor

Choose a reason for hiding this comment

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

The field user_type_id no longer exists on 16.0. You should change it to the selection field account_type

pedrobaeza and others added 25 commits February 18, 2023 18:38
* Bug OCA#96 bad use of new API
* [Usability] mandates: search by reference, add group_by, add seq type in tree view
* Add scheme in mandate tree+search view
* Replace tabs by spaces in mandate views
* account_banking_mandate/views/account_banking_mandate_view.xml: convert from dos to unix format
* Add multi-company rule on account.banking.mandate
Fix an important regression in account_banking_sepa_direct_debit: "Date of Last Debit" was not set any more
Proper write of date_done with account_banking_payment_export is installed without account_banking_payment_transfer
Add post-install script for date_sent on payment.order
The restriction rule Banking Mandate multi-company, gives an error when editing a partner bank account from a company A when that account has created a mandate from another company B. So it is impossible to create a mandate for each company without disabling the rule.
Solution: Uncheck the rule writte in Banking Mandate multi-company. But i'm not sure this is correct.
* Short headers
* Bump version numbers
* es translations
* Add creditor identifier field to report mandate.
* Translate.
* Split basic and sepa mandate
* Use api.multi instead
* Make format field required
Port almost all modules to v10

* Update to EPC Rulebook v9.2 that start to apply on 2016-11-20 (bug OCA#300)
…ovided

Using same method as in upstream, mandate is filled on invoice creation if no
one is provided. This way, we don't need to install account_banking_mandate_sale
if we don't want to handle several mandates at sales level.
…date + Add valid_mandate field and fix onchange

(cherry picked from commit 25d2e4d)
OCA-git-bot and others added 24 commits February 18, 2023 18:38
Currently translated at 79.6% (86 of 108 strings)

Translation: bank-payment-14.0/bank-payment-14.0-account_banking_mandate
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-14-0/bank-payment-14-0-account_banking_mandate/fr_FR/
Currently translated at 75.2% (76 of 101 strings)

Translation: bank-payment-14.0/bank-payment-14.0-account_banking_mandate
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-14-0/bank-payment-14-0-account_banking_mandate/nl/
Currently translated at 77.2% (78 of 101 strings)

Translation: bank-payment-14.0/bank-payment-14.0-account_banking_mandate
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-14-0/bank-payment-14-0-account_banking_mandate/nl/
Currently translated at 87.1% (88 of 101 strings)

Translation: bank-payment-14.0/bank-payment-14.0-account_banking_mandate
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-14-0/bank-payment-14-0-account_banking_mandate/nl/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: bank-payment-14.0/bank-payment-14.0-account_banking_mandate
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-14-0/bank-payment-14-0-account_banking_mandate/
Currently translated at 100.0% (109 of 109 strings)

Translation: bank-payment-14.0/bank-payment-14.0-account_banking_mandate
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-14-0/bank-payment-14-0-account_banking_mandate/es_AR/
Fix bug in account_banking_mandate when a res.partner.bank is not attached to a particular company (company_id is NOT required on res.partner.bank)
Currently translated at 100.0% (109 of 109 strings)

Translation: bank-payment-14.0/bank-payment-14.0-account_banking_mandate
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-14-0/bank-payment-14-0-account_banking_mandate/ca/
…ng records when res.partner form got called from an other form
@wpichler wpichler force-pushed the 16.0-mig-account_banking_mandate branch from 33d960b to 09d43b5 Compare February 18, 2023 17:40
@wpichler wpichler force-pushed the 16.0-mig-account_banking_mandate branch from 09d43b5 to 5239b11 Compare February 18, 2023 18:17
@Reyes4711-S73
Copy link
Contributor

@wpichler please, close this PR due to the fact that there's another PR which it was merged yet
#1028

@pedrobaeza pedrobaeza closed this Mar 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.