mirror of
https://github.com/bringout/oca-ocb-l10n_me-africa.git
synced 2026-04-28 07:22:03 +02:00
19.0 vanilla
This commit is contained in:
parent
c5006a6999
commit
80293571e7
420 changed files with 21812 additions and 44297 deletions
18
odoo-bringout-oca-ocb-l10n_ke/l10n_ke/models/res_company.py
Normal file
18
odoo-bringout-oca-ocb-l10n_ke/l10n_ke/models/res_company.py
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||||
|
||||
|
||||
from odoo import fields, models
|
||||
|
||||
|
||||
class ResCompany(models.Model):
|
||||
_inherit = 'res.company'
|
||||
|
||||
l10n_ke_oscu_is_active = fields.Boolean(
|
||||
string="Is OSCU active?",
|
||||
help="Whether this company is set up for OSCU flows.",
|
||||
compute='_compute_l10n_ke_oscu_is_active',
|
||||
)
|
||||
|
||||
def _compute_l10n_ke_oscu_is_active(self):
|
||||
""" Overridden in enterprise when the OSCU module is used in the company"""
|
||||
self.l10n_ke_oscu_is_active = False
|
||||
Loading…
Add table
Add a link
Reference in a new issue