You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
567 B

#This file is part sale_invoice_cancel module for Tryton.
#The COPYRIGHT file at the top level of this repository contains
#the full copyright notices and license terms.
from trytond.model import Workflow, ModelView, ModelSQL, fields
from trytond.tools import safe_eval, datetime_strftime
from trytond.transaction import Transaction
from trytond.pool import Pool
class Invoice(ModelSQL, ModelView):
_name = 'account.invoice'
@Workflow.transition('draft')
def draft(self, ids):
'''Available cancel invoices from sale'''
pass
Invoice()