Added edi.documents representing an electronic document for a move and an edi.format. A format can be asynchronous if it needs to call a web-service to generate the document, it will then be generated by the CRON (otherwise it's generated in post). The formats can support payments if needed (can be generated immediately or by the CRON). Added support for errors and related views. Setting defaults format on a journal can be done automatically (based on a hook). Added tests : xml comparaison with diff and helpers to test a EDI import/export --task: 2247368
509 B
509 B
| 1 | id | name | model_id:id | group_id:id | perm_read | perm_write | perm_create | perm_unlink |
|---|---|---|---|---|---|---|---|---|
| 2 | access_account_edi_format_readonly | account.edi.format | model_account_edi_format | 1 | 0 | 0 | 0 | |
| 3 | access_account_edi_format_group_invoice | account.edi.format | model_account_edi_format | account.group_account_invoice | 1 | 1 | 1 | 1 |
| 4 | access_account_edi_document_readonly | account.edi.document | model_account_edi_document | 1 | 0 | 0 | 0 | |
| 5 | access_account_edi_document_group_invoice | account.edi.document | model_account_edi_document | account.group_account_invoice | 1 | 1 | 1 | 1 |