InvoiceConstraint: properly support sale & purchase invoice
Base_getPreferredSectionItemList: fix a bug

When existing categoy is not part of the preferred sections the existing category was added to the cache value. Copy the list before.
Make it sure to prevent a builder from creating a new delivery when it is not allowed.

reapply commit 1761194e67c4be5b2df93086e87639c55d0f9b79 that got lost in the
renaming
accounting: call builder alarm when calling localBuild
Copy source/destination accounts when setting resource on a movement

This is known to slow down setResource a bit
XHTML: test erp5_test_result
configurator_categories: remove duplicated categories