Revisioning for company information #23
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: mozcode/stoptime#23
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
At some point company info might change (for example a move) but old invoices should be generated as they were at that time. Hence, the database keep track of the revisions and couple invoices with the right version of the company info.
(Imported from Ticgit issue ba1a26.)
Two issues:
Added company info revisioning in the models
Invoice
withCompanyInfo
and anhas_many
reverse relation.Referred to by commit
016cb0b21d
.Create a revision of the company info when it has related invoiced.
Referred to by commit
fb20d2825f
.Support editing of company info revisions.
Referred to by commit
18451546c0
.Currently, it is possible to edit past revisions, edit the current revision and get a new one if it has associated invoices. It is not possible to forcibly edit the current revision without creating a new revision if is has associated invoices. This should be possible.