parent
e2c7fb7d29
commit
ca6e6fe9d6
|
@ -6,11 +6,12 @@ from trytond.pool import Pool
|
||||||
from trytond.pyson import Eval, PYSONEncoder
|
from trytond.pyson import Eval, PYSONEncoder
|
||||||
from trytond.wizard import Wizard, StateView, StateAction, StateTransition, \
|
from trytond.wizard import Wizard, StateView, StateAction, StateTransition, \
|
||||||
Button
|
Button
|
||||||
from trytond.config import config
|
from trytond.config import config as config_
|
||||||
DIGITS = int(config.get('digits', 'unit_price_digits', 4))
|
|
||||||
|
|
||||||
__all__ = ['ProductOneClickView', 'ProductOneClick']
|
__all__ = ['ProductOneClickView', 'ProductOneClick']
|
||||||
|
|
||||||
|
DIGITS = config_.getint('product', 'price_decimal', default=4)
|
||||||
|
|
||||||
|
|
||||||
class ProductOneClickView(ModelView):
|
class ProductOneClickView(ModelView):
|
||||||
'Product OneClick View'
|
'Product OneClick View'
|
||||||
|
|
Loading…
Reference in New Issue