-
- Downloads
[FIX] account: Check Move Status Before Posting
Beforehand, if two users independently opened a draft invoice on their respective sessions, then both of them clicked on the "Post" button, then the invoice was posted twice. On a more general aspect, the view currently "prevents" users from posting moves several times, but technically speaking, nothing stops users from posting moves several times. Now, after checking that the user indeed has the right to post a move, the next check is about verifying that the move is not already posted. opw-2479201 closes odoo/odoo#68837 X-original-commit: 71b82693 Related: odoo/enterprise#17511 Signed-off-by:oco-odoo <oco-odoo@users.noreply.github.com> Signed-off-by:
Julien CHEVREAU <Julien-CHEVREAU@users.noreply.github.com>
Showing
- addons/account/i18n/account.pot 6 additions, 0 deletionsaddons/account/i18n/account.pot
- addons/account/models/account_bank_statement.py 3 additions, 1 deletionaddons/account/models/account_bank_statement.py
- addons/account/models/account_move.py 2 additions, 0 deletionsaddons/account/models/account_move.py
- addons/account/tests/test_account_move_entry.py 3 additions, 2 deletionsaddons/account/tests/test_account_move_entry.py
- addons/delivery/tests/test_delivery_stock_move.py 0 additions, 2 deletionsaddons/delivery/tests/test_delivery_stock_move.py
- addons/point_of_sale/tests/test_point_of_sale_flow.py 4 additions, 2 deletionsaddons/point_of_sale/tests/test_point_of_sale_flow.py
Loading
Please register or sign in to comment