configurator_standard: repair accounting generation with default accounts
in 772d8fed (configurator_standard: use specific sale and purchase business processes, 2020-07-16) we introduced scripts to look up dynamically accounts to use for expense/income and VAT accounts, from supply lines, but this accidentally broke the case where no account can be found on supply lines: in this case, the accounting line was not generated. Ideally, there should be fallback accounts, to keep the same behavior and also to prevent generation of incomplete transactions. Review the scripts, so that the "Dynamic" scripts fallback on the account defined on the trade model path if not found and introduce new scripts, where the account is not taken dynamically, but only from the trade model path, for use on the payable/receivable lines (where we don't want to lookup the account dynamically, otherwise we'll use same account as for expense/income)
Status | Job ID | Name | Coverage | ||||||
---|---|---|---|---|---|---|---|---|---|
External | |||||||||
passed |
#192771
external
|
ERP5.CodingStyleTest-TestRunner1 |
06:19:52
|
||||||
passed |
#192791
external
|
ERP5.PerformanceTest-TestRunner1 |
01:12:21
|
||||||
failed |
#192770
external
|
ERP5.UnitTest-TestRunner1 |
06:44:06
|
||||||
passed |
#182289
external
retried
|
ERP5.CodingStyleTest-TestRunner1 |
01:16:16
|
||||||
passed |
#182292
external
retried
|
ERP5.PerformanceTest-TestRunner1 |
00:23:38
|
||||||
failed |
#182288
external
retried
|
ERP5.UnitTest-TestRunner1 |
01:51:11
|
||||||
canceled |
#182335
external
retried
|
ERP5.UnitTest-TestRunner1 |
|
||||||
failed |
#182336
external
retried
|
ERP5.UnitTest-TestRunner1 |
01:08:49
|
||||||