Add the 'Contract hours' field to the product template and 'Contract' to the invoice. When a invoice that has a contract partner is validated, it is add the numbers of hours products lines recurring invoice that contract is added the value of the field 'Total Worked Time' and result is assigned to the field 'Units pre-paid service' of the contract.
Please log in to comment on this module