Files
tryton/__init__.py
T
Cédric Krier 27752f6265 Add unit per price list
We add a selection field on price list to define how to get the unit.
But also we remove the digits constraint on the quantity as it is compared
against an non-rounded value.

issue8442
review255621002
2019-07-08 18:43:25 +02:00

22 lines
566 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.pool import Pool
from .party import *
from .sale import *
from . import product
from . import configuration
def register():
Pool.register(
Party,
PartySalePriceList,
Sale,
SaleLine,
product.Product,
product.PriceList,
configuration.Configuration,
configuration.ConfigurationSalePriceList,
module='sale_price_list', type_='model')