trytonpsk-sale_shop/configuration.py

16 lines
567 B
Python

# This file is part of Tryton. The COPYRIGHT file at the top level of
# this repository contains the full copyright notices and license terms.
from trytond.model import fields
from trytond.pool import PoolMeta
class Configuration(metaclass=PoolMeta):
__name__ = 'sale.configuration'
default_description = fields.Char('Default Description')
use_description_product = fields.Boolean('Use Description Product')
cache_products_local = fields.Boolean('Cache Products Local')
@staticmethod
def default_cache_products_local():
return True