You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
307 B

  1. # Copyright 2017 LasLabs Inc.
  2. # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
  3. from odoo import api, SUPERUSER_ID
  4. def post_init_hook(cr, _):
  5. with api.Environment.manage():
  6. env = api.Environment(cr, SUPERUSER_ID, {})
  7. env['res.partner']._install_partner_firstname()