[FIX] stock_account: date a valued move without accounting rights
Succeed
264m
open
Commit message
[FIX] stock_account: date a valued move without accounting rights Moving the date of a valued move replays the valuation of its products from the earlier date, and since 501a537426e7 the replay posts correction entries. They were created with the rights of the user who moved the date, who may hold no accounting right: - a stock user applying a count at a past counting date (the Apply dialog dates the count moves after they are done); - a manufacturing user marking an order done: core dates the done moves of the order again with the clock, which is a second later than their completion on a loaded server (mrp_account test_mrp_user_with_timesheet_permissions_can_produce_mo fails at random on the runbot). Both got "You are not allowed to create 'Journal Entry' (account.move) records". The valuation of a move being done runs as superuser (_action_done); the replay a new date triggers now does too.
Subbuilds
10
10
- #444395 At install tests: account_payment_custom → website_timesheet 32m Succeed Log
- #444397 Post install tests: account → contacts 1h 31m Succeed Log
- #444398 Post install tests: crm → microsoft_outlook 2h 11m Succeed Log
- #444399 Post install tests: mrp → pos_imin 2h 20m Succeed Log
- #444400 Post install tests: pos_loyalty → product_matrix 2h 24m Succeed Log
- #444401 Post install tests: project → sale_stock_product_expiry 2h 15m Succeed Log
- #444402 Post install tests: sale_timesheet → test_mail 2h 18m Succeed Log
- #444403 Post install tests: test_mail_full → viin_hr 2h 03m Succeed Log
- #444404 Post install tests: web → website_event_track_quiz 2h 03m Succeed Log
- #444405 Post install tests: website_forum → website_timesheet 1h 43m Succeed Log
Build Log
| Date | Level | Message |
|---|---|---|
| 11/30/2026 09:39:19 AM | INFO | Running on the master, build containers taken: office1 11/12, the master 60/36, office2 23/12; office1 cannot take it: CPU 88%
|
| 11/30/2026 09:39:19 AM | INFO | Updated repository Viindoo-tvtmaaddons
|
| 11/30/2026 09:39:19 AM | INFO | Updated repository Viindoo-erponline-enterprise
|
| 11/30/2026 09:39:19 AM | INFO | Updated repository Viindoo-branding
|
| 11/30/2026 09:39:19 AM | INFO | Cloned repository Viindoo-odoo
|
| 11/30/2026 09:39:19 AM | INFO | At install tests: this pull request changes no frontend file, so it runs without hoot, /web:HootSuite.test_hoot, /im_livechat:ExternalTestSuite.test_external_livechat
|
| 11/30/2026 09:39:19 AM | INFO | At install tests: this pull request changes nothing installed before stock_account, so it runs without the at install tests of the 243 modules installed before it
|
| 11/30/2026 09:39:19 AM | INFO | Post install tests: this pull request changes no frontend file, so it runs without hoot, /web:HootSuite.test_hoot, /im_livechat:ExternalTestSuite.test_external_livechat
|
| 11/30/2026 09:39:19 AM | INFO | Post install tests: 9 parallel builds balanced by the test time measured on 20.0, the longest about 60 minutes of tests
|
| 11/30/2026 10:00:10 AM | INFO | Post install tests: no parallel build added, a build waits to start
|
| 11/30/2026 09:40:20 AM | WARNING |
Subbuild #444395: Not loading server-wide module(s) to_erponline_utility: not installable on the addons path of this build (their repository is left out, e.g. it has no 20.0 branch, or they are not ported to it yet)
|
| 11/30/2026 09:40:21 AM | WARNING |
Subbuild #444396: Not loading server-wide module(s) to_erponline_utility: not installable on the addons path of this build (their repository is left out, e.g. it has no 20.0 branch, or they are not ported to it yet)
|
| 11/30/2026 11:20:25 AM | WARNING |
Subbuild #444397: Not loading server-wide module(s) to_erponline_utility: not installable on the addons path of this build (their repository is left out, e.g. it has no 20.0 branch, or they are not ported to it yet)
|
| 11/30/2026 11:20:30 AM | WARNING |
Subbuild #444398: Not loading server-wide module(s) to_erponline_utility: not installable on the addons path of this build (their repository is left out, e.g. it has no 20.0 branch, or they are not ported to it yet)
|
| 11/30/2026 11:20:32 AM | WARNING |
Subbuild #444399: Not loading server-wide module(s) to_erponline_utility: not installable on the addons path of this build (their repository is left out, e.g. it has no 20.0 branch, or they are not ported to it yet)
|
| 11/30/2026 11:20:34 AM | WARNING |
Subbuild #444400: Not loading server-wide module(s) to_erponline_utility: not installable on the addons path of this build (their repository is left out, e.g. it has no 20.0 branch, or they are not ported to it yet)
|
| 11/30/2026 11:45:17 AM | WARNING |
Subbuild #444401: Not loading server-wide module(s) to_erponline_utility: not installable on the addons path of this build (their repository is left out, e.g. it has no 20.0 branch, or they are not ported to it yet)
|
| 11/30/2026 11:45:21 AM | WARNING |
Subbuild #444402: Not loading server-wide module(s) to_erponline_utility: not installable on the addons path of this build (their repository is left out, e.g. it has no 20.0 branch, or they are not ported to it yet)
|
| 11/30/2026 11:45:23 AM | WARNING |
Subbuild #444403: Not loading server-wide module(s) to_erponline_utility: not installable on the addons path of this build (their repository is left out, e.g. it has no 20.0 branch, or they are not ported to it yet)
|
| 11/30/2026 11:48:21 AM | WARNING |
Subbuild #444404: Not loading server-wide module(s) to_erponline_utility: not installable on the addons path of this build (their repository is left out, e.g. it has no 20.0 branch, or they are not ported to it yet)
|
| 11/30/2026 11:48:24 AM | WARNING |
Subbuild #444405: Not loading server-wide module(s) to_erponline_utility: not installable on the addons path of this build (their repository is left out, e.g. it has no 20.0 branch, or they are not ported to it yet)
|