Commit Graph
57944 Commits
Author SHA1 Message Date
Cédric Krier 02bbbc6549 Silent exit of cron and worker with keyboard 2024-02-04 20:51:05 +01:00
Cédric Krier e77255d0c1 Update list of local icons from sao directory 2024-02-12 18:15:37 +01:00
Cédric Krier 5e4fb93e8d Make icon factory thread-safe
By using a single immutable dictionary as source for icon ids, we ensure the
coherence during the execution even if other calls are executed in parallel.

Closes #13033
2024-02-12 18:27:26 +01:00
Cédric Krier 2bf7e4bd3d Revoke URLs of loaded icons
Closes #13095
2024-03-10 01:09:35 +01:00
Cédric Krier 1846050401 Do not set sale nor purchase in exception for invoice with cancel move
Cancelled invoices with a cancel move should be considered as paid.

Closes #13085
2024-03-08 12:36:57 +01:00
Cédric Krier 40d4fe61ac Set invoice line state to paid when invoice is cancelled with cancel move
Such invoice line should be considered as booked for example to compute the
invoiced quantity of stock move.

Closes #13085
2024-03-08 12:29:03 +01:00
Cédric Krier d85d7a1f9c Expand form container to fill all parent spaces
Closes #13073
2024-03-05 15:18:03 +01:00
Cédric Krier f409e36e91 Do not delete purchase request with a purchase line when supply stock
The design does not ensure that draft purchase request can not be linked to a
purchase line.

Closes #12974
2024-02-05 23:15:21 +01:00
Cédric Krier d60af01050 Hide traceback by default in error message
Closes #12991
2024-02-02 22:55:21 +01:00
Sergi Almacellas Abellana 751cf5081a Update documentation of stock forecast 2024-03-17 15:27:08 +01:00
Sergi Almacellas Abellana d2e269e66a Set warehouse by default on forecast
Closes #12717
2024-03-17 15:26:16 +01:00
Cédric Krier 39c5056da5 Use Javascript classes for PYSON 2024-03-16 19:50:34 +01:00
Cédric Krier a281900e51 Fix link to documentation of stock_product_location_place 2024-03-09 02:03:14 +01:00
Cédric Krier 10cdcd5826 Document how to fill opening balance 2024-02-10 20:29:00 +01:00
Cédric Krier 245a0573ce Add auto-detected fields with drag and drop handler
Closes #13082
2024-03-07 13:06:11 +01:00
Cédric Krier ca35638145 Set height to 100% for text and richtext
Closes #13058
2024-02-25 13:40:59 +01:00
Cédric Krier 743e938baa Set empty currency when reconcile no lines
Since f9560247a0fc the currency for the reconciled lines is computed but when
there is no line, there is no company to get currency from.

Closes #13047
2024-03-02 11:39:29 +01:00
Cédric Krier 9aceea55c4 Use moment to parse time
Closes #13032
2024-02-21 09:52:06 +01:00
Nicolas Évrard 00f81cf62f Limit search for NULL rows when adding a NOT NULL constraint 2024-03-05 16:08:19 +01:00
Sergi Almacellas Abellana c3117568ad Round code price before storage when modifying from product wizard
Closes #13041
2024-03-15 19:18:30 +01:00
Adrià Tarroja Caubet 3da23862c5 Test phone number on 347 and 349 reports 2024-03-07 10:38:57 +01:00
Adrià Tarroja Caubet 1346293974 Check country code from phonenumber as int
Closes #13060
2024-02-27 13:29:54 +01:00
Cédric Krier 9dfec46280 Activate no-with rule of eslint 2024-03-11 23:46:03 +01:00
Cédric Krier 58e2e9f70d Activate no-useless-escape rule of eslint 2024-03-10 01:00:02 +01:00
Cédric Krier 919ab27a8c Do not activate no-unused-vars only for args 2024-03-10 00:58:24 +01:00
Cédric Krier d6adb7578f Activate no-unexpected-multiline rule of eslint 2024-03-10 00:33:47 +01:00
Cédric Krier bab234389f Activate no-self-assign rule of eslint 2024-03-10 00:31:44 +01:00
Cédric Krier ef6a0483a8 Activate no-prototype-builtins rule of eslint
In most case there is no need to test loop attribute with hasOwnProperty
because we know that Object.prototype is not modified.
2024-03-10 00:28:14 +01:00
Cédric Krier d59dddea7d Activate no-extra-boolean-cast rule of eslint 2024-03-09 23:36:02 +01:00
Cédric Krier f5a7211436 Activate no-empty rule of eslint 2024-03-09 23:34:23 +01:00
Cédric Krier 9140665f5a Activate no-constant-condition rule of eslint 2024-03-11 23:37:56 +01:00
Cédric Krier f1f04dbc5b Activate getter-return rule of eslint 2024-03-09 23:31:41 +01:00
Cédric Krier 61acc97074 Return an array for listed_records accessor of list-form
Closes #13094
2024-03-09 23:22:09 +01:00
Cédric Krier 7dcfcfcb3a Replace jshint by eslint
Closes #13087
2024-03-11 23:33:12 +01:00
Cédric Krier 18d6933489 Use model attribute to compute model name of CharColumn
Closes #13093
2024-03-09 11:01:34 +01:00
Cédric Krier fca4a93d08 Compute index when selecting list-form row to select records
Closes #13092
2024-03-09 10:59:52 +01:00
Cédric Krier f1a526d2b7 Set graph color from yfield
Closes #13091
2024-03-09 10:56:54 +01:00
Cédric Krier 0e68b91488 Fix typo in defaults argument in new_ method of Many2Many widget
Closes #13090
2024-03-09 10:55:19 +01:00
Cédric Krier ceb0ff3700 Use size from attributes when setting url_size parameters for Image
Closes #13089
2024-03-09 10:52:41 +01:00
Cédric Krier 824e282b6f Do not fail on input completion when source is an Array
Closes #13088
2024-03-09 10:49:27 +01:00
Cédric Krier 2837108682 Use operators when converting PYSON to string
Closes #12986
2024-03-09 01:41:54 +01:00
Cédric Krier 4d084ec01b Remove icons in unique dialog
There is already an alert background set to distinct them.
2024-01-31 10:32:35 +01:00
Cédric Krier c4de553be3 Rationalize unique dialog size 2024-01-31 10:25:30 +01:00
Cédric Krier b36a38a14a Allow account users to delete moves
Closes #12976
2024-01-30 16:37:15 +01:00
Cédric Krier 29de76f324 Activate employee based on dates
Closes #12077
2024-01-30 10:34:34 +01:00
Cédric Krier 4e75c63e51 Include context information in access error
We include the date/time when the access error may be due to history and
user's groups when it depends on it.

Closes #12670
2024-01-29 13:18:30 +01:00
Cédric Krier ed0b38db47 Add location name fields to move 2024-01-04 10:56:25 +01:00
Cédric Krier da08123b44 Add stock_product_location_place module
Closes #12797
2024-03-07 13:44:35 +01:00
Cédric Krier a426898971 Try to assign automatically planned shipments in the past
Closes #13030
2024-02-09 16:44:46 +01:00
Cédric Krier 31e3eb142c Unify shipment assignation scheduled jobs
The order shipments are assigned is important as it determines which order
will be done or not. So we must try to assign all the shipments and
productions following a defined order.

Closes #13027
2024-02-09 16:42:28 +01:00