Currently, all localizations of UoM fields are visible in all countries. So in this commit, I have added a new compute field in UoM models, the field contains comma-separated company's country codes, and I have used this field for the hide/unhide fields. closes odoo/odoo#112604 Related: odoo/enterprise#36572 Related: odoo/upgrade#4284 Signed-off-by: Josse Colpaert <jco@odoo.com>
42 lines
1.2 KiB
Python
42 lines
1.2 KiB
Python
# -*- coding: utf-8 -*-
|
|
|
|
from . import sequence_mixin
|
|
from . import partner
|
|
from . import ir_http
|
|
from . import res_partner_bank
|
|
from . import account_account_tag
|
|
from . import account_account
|
|
from . import account_journal
|
|
from . import account_tax
|
|
from . import account_reconcile_model
|
|
from . import account_payment_term
|
|
from . import account_move
|
|
from . import account_move_line
|
|
from . import account_move_line_tax_details
|
|
from . import account_partial_reconcile
|
|
from . import account_full_reconcile
|
|
from . import account_payment
|
|
from . import account_payment_method
|
|
from . import account_bank_statement
|
|
from . import account_bank_statement_line
|
|
from . import chart_template
|
|
from . import account_analytic_account
|
|
from . import account_analytic_distribution_model
|
|
from . import account_analytic_plan
|
|
from . import account_analytic_line
|
|
from . import account_journal_dashboard
|
|
from . import product
|
|
from . import company
|
|
from . import res_config_settings
|
|
from . import account_cash_rounding
|
|
from . import account_incoterms
|
|
from . import digest
|
|
from . import res_users
|
|
from . import ir_attachment
|
|
from . import ir_actions_report
|
|
from . import ir_module
|
|
from . import res_currency
|
|
from . import account_report
|
|
from . import template_generic_coa
|
|
from . import uom_uom
|