mirror of
https://github.com/OCA/bank-payment.git
synced 2025-02-02 10:37:31 +02:00
Port almost all modules to v10 * Update to EPC Rulebook v9.2 that start to apply on 2016-11-20 (bug #300)
15 lines
448 B
Python
15 lines
448 B
Python
# -*- coding: utf-8 -*-
|
|
# © 2015-2016 Akretion - Alexis de Lattre <alexis.delattre@akretion.com>
|
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
|
|
|
|
|
from odoo import api, SUPERUSER_ID
|
|
|
|
|
|
def set_default_initiating_party(cr, registry):
|
|
with api.Environment.manage():
|
|
env = api.Environment(cr, SUPERUSER_ID, {})
|
|
companies = env['res.company'].search([])
|
|
companies._default_initiating_party()
|
|
return
|