mirror of
https://bitbucket.org/presik/trytonpsk-purchase_discount.git
synced 2023-12-14 05:03:01 +01:00
Release v6.0
This commit is contained in:
parent
6ec97bd21b
commit
714902ee3d
|
@ -4,11 +4,8 @@ from decimal import Decimal
|
|||
from trytond.model import fields
|
||||
from trytond.pool import Pool, PoolMeta
|
||||
|
||||
__all__ = ['Template']
|
||||
|
||||
|
||||
class Template:
|
||||
__metaclass__ = PoolMeta
|
||||
class Template(metaclass=PoolMeta):
|
||||
__name__ = 'product.template'
|
||||
cost_w_tax = fields.Function(fields.Numeric('Cost With Tax', digits=(16, 2),
|
||||
depends=['list_price', 'customer_taxes']), 'on_change_with_cost_w_tax')
|
||||
|
|
|
@ -11,9 +11,6 @@ from trytond.modules.purchase.purchase import PurchaseReport
|
|||
from trytond.config import config as config_
|
||||
from trytond.transaction import Transaction
|
||||
|
||||
__all__ = ['PurchaseLine', 'PurchaseDiscountReport', 'Configuration',
|
||||
'PurchaseDiscountWizardStart', 'PurchaseDiscountWizard']
|
||||
|
||||
STATES = {
|
||||
'invisible': Eval('type') != 'line',
|
||||
'required': Eval('type') == 'line',
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[tryton]
|
||||
version=5.0.1
|
||||
version=6.0.0
|
||||
depends:
|
||||
product
|
||||
purchase
|
||||
|
|
Loading…
Reference in a new issue