mirror of
https://bitbucket.org/presik/trytonpsk-hotel.git
synced 2023-12-14 07:52:52 +01:00
Fx
This commit is contained in:
parent
a681d1c188
commit
8e80f7a229
2 changed files with 2 additions and 14 deletions
14
folio.py
14
folio.py
|
@ -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
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[tryton]
|
||||
version=6.0.87
|
||||
version=6.0.88
|
||||
depends:
|
||||
party
|
||||
company
|
||||
|
|
Loading…
Reference in a new issue