Cédric Krier
7153bca657
Update sale addresses also for guest party from Shopify order
...
If the guest party is set back because the customer has been removed on
Shopify, the addresses must be also set back to those from the guest party.
Closes #14235
2025-09-17 15:21:54 +02:00
Cédric Krier
076fcbcc0a
Use current total price when creating sale from Shopify order
...
At the creation the order may already have the total price modified by refund
etc.
Closes #14234
2025-09-17 13:23:09 +02:00
Cédric Krier
9e725456fd
Do not try to fulfill move not linked to a Shopify order line
...
Closes #14232
2025-09-16 10:57:50 +02:00
Cédric Krier
da9cc4bb87
Patch global PATH variable of filestore in test
...
Changing the configuration value is not enough as its value is cached in the
global variable.
Closes #14248
2025-09-20 09:07:18 +02:00
Cédric Krier
6c08365879
Do not set weight nor dimension to Sendcloud parcel when empty
...
Closes #14231
2025-09-15 17:58:55 +02:00
Cédric Krier
80eaf304d1
Remove padding in base64 converter
2025-08-27 12:35:31 +02:00
Cédric Krier
705baad2b1
Keep original order for data on pie chart
...
Closes #14222
2025-09-10 00:56:46 +02:00
Cédric Krier
c66acb75e5
Use the length of data to generate color scheme on pie chart
...
We need a different color for each data instead of each y field.
Closes #14221
2025-09-10 00:53:45 +02:00
Cédric Krier
8d56e4fbf1
Return proper bad request error for request with incorrect data
2025-09-09 22:38:27 +02:00
Cédric Krier
a1b80e1af5
Use the presentment currency of the Shopify order for the sale currency
...
Closes #14214
2025-09-04 10:37:26 +02:00
Cédric Krier
61731f9f1e
Compare compact format of contact mechanism when updating Shopify customer
...
Closes #14211
2025-09-08 14:05:05 +02:00
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