This commit is contained in:
oscar alvarez 2023-05-08 09:03:41 -05:00
parent a681d1c188
commit 8e80f7a229
2 changed files with 2 additions and 14 deletions

View file

@ -1600,18 +1600,7 @@ class FolioCharge(Workflow, ModelSQL, ModelView):
def default_kind():
return 'product'
@staticmethod self.description = self.product.template.name
# FIXME
# if not self.folio.taxes_exception:
# self.taxes = [
# tax.id for tax in self.product.customer_taxes_used
# ]
self.taxes = [
tax.id for tax in self.product.customer_taxes_used
]
def get_move_line(self, account, party, amount):
debit = credit = _ZERO
@staticmethod
def default_status():
return 'pending'
@ -1688,7 +1677,6 @@ class FolioCharge(Workflow, ModelSQL, ModelView):
if self.product:
self.unit_price = round(self.product.template.list_price, 2)
self.description = self.product.template.name
# FIXME
# if not self.folio.taxes_exception:
self.taxes = [
tax.id for tax in self.product.customer_taxes_used

View file

@ -1,5 +1,5 @@
[tryton]
version=6.0.87
version=6.0.88
depends:
party
company