mirror of
https://github.com/bringout/euro-office.git
synced 2026-04-18 04:01:59 +02:00
Based on onlyoffice_odoo by Ascensio System SIA (ONLYOFFICE, LGPL-3). Rebranded and adapted for Euro-Office by bring.out d.o.o. Modules: - eurooffice_odoo: base integration - eurooffice_odoo_templates: document templates - eurooffice_odoo_oca_dms: OCA DMS integration (replaces Enterprise documents) All references renamed: onlyoffice -> eurooffice, ONLYOFFICE -> Euro-Office. Original copyright notices preserved.
10 lines
353 B
Python
10 lines
353 B
Python
from odoo.addons.eurooffice_odoo_templates.utils import config_constants
|
|
|
|
|
|
def set_editable_form_fields(env, value):
|
|
env["ir.config_parameter"].sudo().set_param(config_constants.EDITABLE_FORM_FIELDS, value)
|
|
return
|
|
|
|
|
|
def get_editable_form_fields(env):
|
|
return env["ir.config_parameter"].sudo().get_param(config_constants.EDITABLE_FORM_FIELDS)
|