Commit Graph
57705 Commits
Author SHA1 Message Date
Cédric Krier ae9746f4e0 Pick only from children location when assigned stock move from supplied sale line
Closes #12812
2023-12-08 12:53:16 +01:00
Cédric Krier 2cab2b2282 Do not check warnings with access checked
The user does not have access right to delete warnings.

Closes #12861
2023-12-22 16:57:43 +01:00
Cédric Krier dfadc5b62b Do not fail to get keyword action with empty record id
Closes #12767
2023-12-23 18:50:58 +01:00
Cédric Krier 1cc73c08ab Convert __export_row from static method to instance method 2023-12-23 18:30:59 +01:00
Cédric Krier 7b3107a8a0 Instantiate list of ids when exporting data with domain as list of ids
Closes #12868
2023-12-23 18:26:00 +01:00
Cédric Krier 27b0b99a44 Compute length of inserted text in bytes
Closes #12138
2023-12-23 18:21:35 +01:00
Cédric Krier 10a5cb783e Return list of instance as result of test tax wizard
Since 0db956eb2505 the on_change_with for xxx2Many must return a list of
instances.

Closes #12852
2023-12-23 01:47:24 +01:00
Cédric Krier 5fae62689f Catch InvalidOperation when rounding inserted number
Closes #12866
2023-12-23 01:39:53 +01:00
Cédric Krier e3be4a5897 Do not rely on invoice state to compute reconciliation lines
Closes #12864
2023-12-22 18:43:55 +01:00
Cédric Krier 675f848571 Include location code when testing record name of forecast
Since e229080e430e the location record name contains the code.

Closes #12869
2023-12-26 13:21:06 +01:00
Cédric Krier 3d0512ed89 Use correct id for error message when creating invoice line not draft
Closes #12863
2023-12-22 18:34:45 +01:00
Cédric Krier 3f11b8f6b5 Delete inventory moves when shipment is reset to draft
Closes #12826
2023-12-14 10:28:12 +01:00
Cédric Krier 94e7196488 Add test scenario for cancelled purchase request from sale supply
#12825
2023-12-21 13:11:20 +01:00
Cédric Krier 3a711d631d Reset and cancel shipment when purchase request is cancelled
The stock moves of the linked sale line is cancelled so the linked shipment
state must be updated to synchronize the inventory moves or to cancel it.

Closes #12825
2023-12-13 23:27:42 +01:00
Cédric Krier eb681a2ece Document that payment method is needed to run pay invoice wizard 2023-12-15 10:12:14 +01:00
Adrià Tarroja Caubet 35a048deea Rename move uom to unit to compute credit limit quantity
Since 7129f417a22c the unit field has been renamed on stock move.

Closes #12875
2023-12-28 12:25:05 +01:00
Cédric Krier de9abf43cc Convert negative id value as None when set by the client
Domain inversion may force a unique value based on the default value from
PYSON evaluation. In such case it means that no record can be set.

Closes #12799
2023-12-17 23:39:16 +01:00
Cédric Krier 2d8df237dd Do not fill invoice date when advance payment condition has no delay
Closes #12844
2023-12-19 16:22:05 +01:00
Cédric Krier b06c9083e7 Prevent opening multiple popup window from the same widget
Closes #12819
2023-12-11 19:28:39 +01:00
Cédric Krier a101df7399 Reload screen after the button action has been executed
Closes #12818
2023-12-12 00:44:42 +01:00
Cédric Krier 8c57fcc0b2 Return a promise when executing an action
This is useful to trigger event after the action is executed.
2023-12-11 18:47:12 +01:00
Cédric Krier e5f73ea902 Set to wait only once each shipment
When shipments are groupes they may appears multiple times in the list so we
must use a unique set.

Closes #12839
2023-12-18 19:13:28 +01:00
Cédric Krier 7c7af11e7a Check selection of dict schema when selection or help selection are modified
It is the modification of stored field that must be checked and not the json
version.

Closes #12781
2023-12-17 20:33:32 +01:00
Cédric Krier 0d437d341c Use empty value Function xxx2Many fields without initial value
Since d142b33fa3ab the on_change_with relies on _changed_value. But for
Function xxx2Many fields if their value is not in the initial value, we should
not retrieve it from the database because the result will be the same as the
one set by on_change_with.

Closes #12836
2023-12-15 18:09:30 +01:00
Cédric Krier 8197d55ed1 Set the same width to input and its group
Such that the suffix are next to the input.

Closes #12821
2023-12-12 11:47:07 +01:00
Cédric Krier 8d9156df84 Add ondelete RESTRICT on Many2One of party ValueMixin
Closes #12809
2023-12-07 23:24:37 +01:00
Cédric Krier acd0ae2ad2 Remove unused view from purchase invoice line standalone
The view is no more used since 17796866a629
2023-12-11 12:12:23 +01:00
Cédric Krier ce5afab66e Duplicate object tag when updating the content of Document widget
Some browser does not refresh properly the content when updating the data
attribute.

Closes #12808
2023-12-07 22:50:42 +01:00
Cédric Krier b3d31f1b60 Always align on start on xs screen
e5446fb8d4ce reintroduced the rule but using text-center while it is justify-*
that is used for grid layout.

Closes #12807
2023-12-07 19:54:48 +01:00
Cédric Krier 28d72755f4 Give more spaces to the party identifier types configuration 2023-12-10 23:42:24 +01:00
Cédric Krier 71ea6e12e7 Hide filter box on extra small screen
Closes #12014
2023-12-07 17:53:34 +01:00
Cédric Krier 413bb19f68 Limit size of tab title per screen size
#12014
2023-12-07 17:36:14 +01:00
Cédric Krier 001377f6e2 Switch between long and short name/title of tab depending on screen size
On small screen the long name is used for the tab name and the short name for
the title. On large screen it is the opposite.

#12014
2023-12-07 17:24:19 +01:00
Cédric Krier 0a4015a2d2 Remove navbar-header to dropdown menu of tab
#12014
2023-12-07 13:41:14 +01:00
Cédric Krier a6639da28b Hide more buttons on small and extra small screens
#12014
2023-12-07 14:14:52 +01:00
Cédric Krier 2c87c460ac Use reference and id to compute record name of blanket agreement
Closes #12805
2023-12-06 16:54:44 +01:00
Cédric Krier fa8f47e0d1 Add short method to email marketing template context
This allows dynamic URL to be shorten and tracked.

Closes #12785
2023-11-30 10:07:57 +01:00
Cédric Krier 5208b96d55 Add UTM to marketing automation activity
Such that links in email message get UTM parameters.
2023-11-25 18:16:33 +01:00
Cédric Krier 1150e78834 Add UTM to marketing email message
Such that links in email message get UTM parameters.
2023-11-25 17:57:12 +01:00
Cédric Krier 2cf37b3763 Add UTM parameters to shortened URL
Closes #12772
2023-11-24 19:28:23 +01:00
Cédric Krier f9a638e951 Use sql table after calling the __setup__ super of marketing parameter
It is ModelSQL.__setup__ that fill the _table attribute used in the SQL table.

Closes #12773
2023-11-25 18:31:08 +01:00
Cédric Krier 071364744e Use sortable function to test origin of xxx2Many 2023-12-02 18:33:07 +01:00
Cédric Krier 37ef23134a Order xxx2Many targets by id origin instead of order name
The ordering is only to group records for cache alignment, so ordering by id
avoid to have to join on the origin table.

Closes #12795
2023-12-02 18:25:11 +01:00
Cédric Krier 96c8feaaba Round moves progress to 4 digits as the field
Closes #12834
2023-12-14 19:13:23 +01:00
Nicolas Évrard c5e5ddf2a1 Mark M2M records for addition in parent after they're saved
Closes #12832
2023-12-14 17:54:27 +01:00
Maxime Richez b391c418ef Run setup.py explicitly with python3 to get version when freezing
Closes #12831
2023-12-23 02:06:45 +01:00
Cédric Krier 1c0ff8eec2 Do not try to read action values if the ID does not exist 2023-12-17 22:57:20 +01:00
Cédric Krier 3d3ffc5c7c Do not check access when retrieving action ID
The ID does not contain any security data. If the user does not have access to
the action, an access error will be raised later when actual values are read.

Closes #12803
2023-12-17 22:54:17 +01:00
Cédric Krier 37997a6329 Add None value to selection for nullable_widget when search_read fails
Closes #12838
2023-12-17 21:13:12 +01:00
Cédric Krier 950ba29cd7 Do not read record name for value None for inactive selection
Closes #12838
2023-12-17 21:12:41 +01:00