Commit Graph
59637 Commits
Author SHA1 Message Date
Cédric Krier 32a8c0d6eb Refund Shopify shipping cost when no shipment was sent
Closes #14218
2025-09-05 17:57:12 +02:00
Cédric Krier 8f23c0d36b Refund Shopify order also when the sale state is done
If nothing has been shipped, the shipment state is "None" but the sale state is
"Done".

Closes #14208
2025-08-29 14:44:26 +02:00
Cédric Krier cae48b576e Restore limit when searching for searching for wizard name
20cdba7a1bf3 removed the limit but it is still needed to extract the single
record.

Closes #14238
2025-09-18 07:48:50 +02:00
Cédric Krier 13bb47b868 Remove default lead time for product sold
By default it is better to assume that we do not know the default lead time of
the company which allows to select the first supplier no matter its lead time.
The sale already plans the stock move to today when the planned shipping date
is empty since a748de86c8d6.

Closes #14224
2025-09-10 09:47:03 +02:00
Cédric Krier b21d1497fa Use the FILTER syntax with SQL aggregate functions
Closes #14199
2025-08-27 10:17:31 +02:00
Cédric Krier 3c82eeca33 Order locations by the MPTT left field when searching on quantities
This improves the likelihood that a full branch of locations will be calculated
in the same batch.

Closes #14182
2025-08-22 10:11:57 +02:00
Maxime Richez d72c4e2a95 Allow modifications of incoterm until customer's shipments has been shipped
Closes #14203
2025-09-14 22:23:45 +02:00
Nicolas Évrard d14e82281d Get name for wizards not linked to a model
Closes #14033
2025-09-14 15:27:16 +02:00
Nicolas Évrard cb48d24489 Add cache on ir.action.wizard get_models and get_name 2025-09-14 15:25:23 +02:00
Nicolas Évrard ace7be31be Use the EXISTS operator when using the 'where' operator in Many2One
Closes #11935
2025-09-14 12:38:50 +02:00
Alex Alias Montserrar 9223e17240 Test if address has a country before display country name in SEPA mandate report
Closes #14020
2025-09-14 11:47:59 +02:00
Cédric Krier 1de38fedd2 Only validate packing for shipments with a shipping service
Closes #14217
2025-09-05 16:52:11 +02:00
Cédric Krier 15f2650954 Redact sensitive values from the log
Closes #14220
2025-09-09 15:17:31 +02:00
Nicolas Évrard 689473f50f Make sure that the search order is predictable when either the limit or the offset is set
Closes #14169
2025-08-18 10:40:02 +02:00
Nicolas Évrard 77984124dd Add a test to ensure that Model._order is predictable 2025-09-11 00:30:16 +02:00
Cédric Krier 0bfe0895ae Update height of list-form when it is set on xxx2Many widget
The current view element is the `list-form` so it is not found. Instead we must
search from the content element of the xxx2Many widget because it replicate the
CSS rule.

Closes #14212
2025-09-02 14:28:57 +02:00
Cédric Krier 2282f46118 Do not refund the non-movable lines to Shopify
Closes #14209
2025-08-29 15:01:23 +02:00
Cédric Krier 5fbfae5a7b Rename the XML ids of the quality production inspection wizard 2025-09-02 13:38:24 +02:00
Cédric Krier c0d29441e9 Fix the XML id of the quality production inspection wizard
Closes #14113
2025-09-02 13:36:42 +02:00
Cédric Krier 91b88aed85 Prevent the CSV import and export windows from being clicked on multiple times
Closes #14205
2025-08-28 19:20:03 +02:00
Sergi Almacellas Abellana 2ae56ac164 Add readonly states to stock quantity issue model
Closes #14191
2025-08-25 12:39:40 +02:00
Sergi Almacellas Abellana 876e972fb6 Add default lead time on product configuration
Changeset 0a0b8be85ef5 added a default value for the multivalue model, but
not for the product configuration, so it is always ignored.

Closes #14188
2025-08-25 10:58:08 +02:00
Cédric Krier 33d5deb5c3 Pass also the number as formatting parameter to ngettext
Closes #14204
2025-08-28 18:16:48 +02:00
Cédric Krier 42ba69bfa6 Use line item quantity to calculate unit price of Shopify sale line
The total discount is based on the initial quantity of the line item instead of
the current quantity.

Closes #14187
2025-08-25 10:37:14 +02:00
Cédric Krier 7f0cb85631 Check for assigned move per company and recent date
d84b63604b10 calculates the recent date per company so we must search for moves
using this date for the same company.
2025-08-23 21:18:43 +02:00
Cédric Krier c169d22f96 Update Shopify payment even if the captured amount is zero
Closes #14181
2025-08-21 17:49:46 +02:00
Cédric Krier 2cc6581609 Always decrease Shopify sale line by the refunded quantity
The restock type is only for the stock level calculation of Shopify which is
not useful as Tryton always update the stock level.

Closes #14179
2025-08-20 16:29:15 +02:00
Cédric Krier 39de08712e Add test scenario to request production with BoM 2025-08-20 11:34:54 +02:00
Cédric Krier b9d34f3174 Use the BoM output unit to request the quantity to produce
This ensures that the output quantity of the production is not floored such
that the production supply does not enter in an infinite loop.

Closes #14175
2025-08-20 11:20:30 +02:00
Cédric Krier 9844fc004d Define weight as Shopify fields on product template
The product_measurement module defines the weight on the template.

Closes #14173
2025-08-19 16:37:43 +02:00
Cédric Krier 4c7a656308 Set sale attribute only if changed
This avoid to clear the sale if there are no actual change on the sale order.

Closes #14171
2025-08-19 13:33:55 +02:00
Cédric Krier c13b0b6626 Fix name of Shopify webhook topic for payment
Closes #14168
2025-08-16 14:16:40 +02:00
Sergi Almacellas Abellana e73ff8af6a Remove the empty notebook pages caused by field access
Closes #14157
2025-08-31 11:04:16 +02:00
Cédric Krier 6bf0edc5eb Manage Shopify webhook for orders edited and cancelled topic
Closes #14136
2025-08-16 14:12:34 +02:00
Cédric Krier e60c2ba8b4 Create draft sale with guest party for Shopify order without customer and update it later
Closes #14167
2025-08-16 10:33:56 +02:00
Cédric Krier 86c9db5ad9 Unpack move table when converting domain for payable/receivable date
Closes #14158
2025-08-23 21:21:10 +02:00
Cédric Krier d1f6163dc8 Do not sum moves progress of component if it is None
When the component has no move, its moves progress is None so it can not be
added to the general progress.

Closes #14183
2025-08-22 11:13:57 +02:00
Cédric Krier 9c0ec50ecf Use gettext method instead of gettext module in import window
Closes #14180
2025-08-21 08:17:10 +02:00
Lars Wuerfel 26d931f238 Correct typos in the report documentation 2025-07-23 10:44:12 +02:00
Cédric Krier 20109ca332 Fix highlight syntax of board documentation 2025-06-26 19:05:43 +02:00
Cédric Krier d33a0e9cb0 Remove metadata columns from tutorial of table query
Since 5095928ec38a those columns are added automatically.
2025-05-10 19:38:24 +02:00
Alex Alias Montserrat 824f6bdc50 Replace the description field with a summary field on the subscription line lists
Closes #12022
2025-08-23 10:24:36 +02:00
Cédric Krier 14947658f8 Allow searching for sales by web shop and ID
Closes #14162
2025-08-14 08:48:37 +02:00
Cédric Krier 9995fa616f Use product record name in record name of purchase request
Closes #14141
2025-08-01 10:01:14 +02:00
Cédric Krier 0b078acacd Add support for disassembly production
Closes #14091
2025-06-19 17:39:38 +02:00
Cédric Krier 29e3785f8d Do not create demo user for every language
Instead we rely on the client language.
2025-08-07 23:41:31 +02:00
Cédric Krier 33ee5f0d51 Set client language in the context when user has no language 2025-05-02 00:46:38 +02:00
Cédric Krier 411392bb09 Use constant-time to compare session key 2025-08-07 20:55:20 +02:00
Cédric Krier ee6f06bea4 Do not warn about missing list price when producing a single product
Closes #14146
2025-08-05 15:37:15 +02:00
José Antonio Díaz Miralles 3925faca88 Use the page position instead of the screen position to compute the column resizing
Screen or client position calculations may be inaccurate when there are
multiple monitors or scrollbars.

Closes #14156
2025-08-21 12:30:44 +02:00