[18.0][MIG] account_payment_mode_default_account#1488
[18.0][MIG] account_payment_mode_default_account#1488RicardCForgeFlow wants to merge 11 commits intoOCA:18.0from
Conversation
65a1c9c to
a21e369
Compare
| account_common.AccountTestInvoicingCommon.collect_company_accounting_data = classmethod( | ||
| _patched_collect_company_accounting_data | ||
| ) |
There was a problem hiding this comment.
could you explain why is this needed?
| ) | ||
|
|
||
|
|
||
| class TestAccountPaymentModeDefaultAccount(TransactionCase): |
There was a problem hiding this comment.
you can try using BaseCommon class to inherit for the test instead of TransactionCase
There was a problem hiding this comment.
The problem is here:
One option could be to do a PR to account_payment_order to use BaseCommon there. What do you think is cleaner, a patch in this module or changing account_payment_order
| class AccountChartTemplate(models.AbstractModel): | ||
| _inherit = "account.chart.template" | ||
|
|
||
| def generate_properties(self, acc_template_ref, company): |
There was a problem hiding this comment.
this method does not exist anymore in v18, could you check if it needs to be changed to something else? It may be _get_property_accounts()
|
|
||
| def uninstall_hook(cr, registry): | ||
| env = api.Environment(cr, SUPERUSER_ID, {}) | ||
| fields_mapping = [ |
There was a problem hiding this comment.
odoo is not using ir.property anymore, but the company dependent fields are stored in the DB as jsonb to keep the values for the different companies. Therefore, you still need the hooks, but simply they should now be managing the filling of data directly in the field of the res.partner table
d6b436e to
37341d1
Compare
37341d1 to
3e01396
Compare
3e01396 to
3e8483a
Compare
|
There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. |
Currently translated at 100.0% (17 of 17 strings) Translation: bank-payment-14.0/bank-payment-14.0-account_payment_mode_default_account Translate-URL: https://translation.odoo-community.org/projects/bank-payment-14-0/bank-payment-14-0-account_payment_mode_default_account/es/
8546508 to
51bb123
Compare
51bb123 to
4b980d9
Compare
Migration of #1358