Active
Project:
Storm
Version:
6.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
23 Jun 2010 at 06:28 UTC
Updated:
4 Jun 2011 at 22:54 UTC
From issue #738020: Link node record to invoice item
When invoice is being prepared and nodes added to an invoice, changes could be made to the original item which affect the price/description on the invoice.
A function to 'resync' is needed to refresh the description and price on the invoice item.
This would mean that the following issues need to be completed first to ensure changes are not made to nodes when not allowed:
#567558: Extend auto-billing to other types of Storm node
#738020: Link node record to invoice item
#835360: Flag - invoice "sent to customer".
Comments
Comment #1
davad commentedIt might make more sense to replace the invoice item field with a node reference field.
Using a node reference field to attach timetracking and expense nodes to an invoice with the total generated when the invoice is loaded would insure that the invoice always reflects the right total. Though that would mean that anything that could be attached to the invoice would have to have some sort of "immutable" flag set after the invoice is sent to the customer (per #835360: Flag - invoice "sent to customer".).