diff options
| author | qdp-odoo <qdp@odoo.com> | 2018-12-05 13:58:46 +0000 |
|---|---|---|
| committer | qdp-odoo <qdp@odoo.com> | 2018-12-07 10:29:16 +0000 |
| commit | 299f9f1eb06f9df950df1dc02e368caa9b3a9871 (patch) | |
| tree | 2c5f6c9d8e8250b357db7df788b705c76e93674f /addons/web_editor/models | |
| parent | fd7aa0cfa06e3846ae2e81fa7244163b659be58d (diff) | |
[REF] account: refactoring of the invoice validation
Better split of invoice_validate() and action_move_create() functions: the later now only deals with the account.move creation while the former assigns missing values (dates) and gets its number. The move now always receives its name from the invoice, which means there's no need anymore of the 'invoice' arg in account.move post() method.
We now also put the origin of the invoice in the move ref, in order to allow searching on that reference in the bank statement reconciliation widget.
closes odoo/odoo#29343
Diffstat (limited to 'addons/web_editor/models')
0 files changed, 0 insertions, 0 deletions
