37a2f426a9
If there is no partner on the contract to which are invoiced the timesheets, the error telling you to set a partner (and a pricelist) must be raised before trying to create the invoice, not before creating the lines of the invoice. In this case, this is because if you set no customer on the contract, there is no pricelist automatically filled as well, and the currency is took from the pricelist, which will be False in the case there is no pricelist on the contract, and you cannot create an invoice with no currency set. opw-647672 |
||
---|---|---|
.. | ||
i18n | ||
report | ||
security | ||
test | ||
views | ||
wizard | ||
__init__.py | ||
__openerp__.py | ||
hr_timesheet_invoice.py | ||
hr_timesheet_invoice_data.xml | ||
hr_timesheet_invoice_demo.xml | ||
hr_timesheet_invoice_report.xml | ||
hr_timesheet_invoice_view.xml | ||
hr_timesheet_invoice_wizard.xml |