How can i flush the document object? I need to do this, because i want to add several invoices in my addon, where the data comes from an external database. Not flushing the document object after calling the Add() Method has the effect, that document lines from the first object are also added to the second object and so on.
Regards
Clemens Mühlbacher
Add a comment