bank-payment/account_banking_pain_base/post_install.py

9 lines
290 B
Python
Raw Permalink Normal View History

2024-05-03 08:36:50 +00:00
# © 2015-2016 Akretion - Alexis de Lattre <alexis.delattre@akretion.com>
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
def set_default_initiating_party(env):
for company in env["res.company"].search([]):
company._default_initiating_party()
return