Add fapiao number to account.move, only show it when the company is located in China. Task 2180269 PR #45743 Related: odoo/upgrade#813 Signed-off-by: Josse Colpaert <jco@openerp.com>
13 lines
388 B
Python
13 lines
388 B
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
# Copyright (C) 2007-2014 Jeff Wang(<http://jeff@osbzr.com>).
|
|
|
|
from . import models
|
|
|
|
from odoo import api, SUPERUSER_ID
|
|
|
|
def load_translations(cr, registry):
|
|
env = api.Environment(cr, SUPERUSER_ID, {})
|
|
env.ref('l10n_cn.l10n_chart_china_small_business').process_coa_translations()
|