mirror of
https://gitlab.com/flectra-community/partner-contact.git
synced 2024-11-14 10:12:05 +00:00
11 lines
310 B
Python
11 lines
310 B
Python
# Copyright 2017 LasLabs Inc.
|
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
|
|
|
from flectra import SUPERUSER_ID, api
|
|
|
|
|
|
def post_init_hook(cr, _):
|
|
with api.Environment.manage():
|
|
env = api.Environment(cr, SUPERUSER_ID, {})
|
|
env["res.partner"]._install_partner_firstname()
|