mirror of
https://github.com/NaN-tic/trytond-sale_discount_visible.git
synced 2023-12-14 05:13:13 +01:00
Add python 3 support
This commit is contained in:
parent
7f9b139208
commit
53250d87f7
2 changed files with 2 additions and 2 deletions
|
@ -7,10 +7,10 @@ from trytond.pool import Pool, PoolMeta
|
|||
from trytond.transaction import Transaction
|
||||
|
||||
__all__ = ['InvoiceLine']
|
||||
__metaclass__ = PoolMeta
|
||||
|
||||
|
||||
class InvoiceLine:
|
||||
__metaclass__ = PoolMeta
|
||||
__name__ = 'account.invoice.line'
|
||||
|
||||
def update_prices_visible_discount(self):
|
||||
|
|
2
sale.py
2
sale.py
|
@ -6,10 +6,10 @@ from trytond.pool import Pool, PoolMeta
|
|||
from trytond.model import fields
|
||||
|
||||
__all__ = ['SaleLine']
|
||||
__metaclass__ = PoolMeta
|
||||
|
||||
|
||||
class SaleLine:
|
||||
__metaclass__ = PoolMeta
|
||||
__name__ = 'sale.line'
|
||||
|
||||
def update_prices_visible_discount(self):
|
||||
|
|
Loading…
Reference in a new issue