Check that module is not empty after creating a document instead of checking...
Vincent Pelletier authored
Check that module is not empty after creating a document instead of checking for a specific number of documents.
Create createOutgoingLine from stepCreateOutgoingLine to factorize code with new stepCreateHQOutgoingLine.
Remove attributes on self when deleting documents in module.
Allow for mutilated_banknote not to be set when creating an hq_banknote. In such case, that document has no causality.
Remove duplicated stock checks.
Add 2 sequences: do the same as in sequence_string_1 and sequence_string_2, but on HQ.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18948 20353a03-c40f-0410-a6d1-a30d3c3de9de
763e3aaf