Cédric Krier
b934cd7b4e
Enforce the same company, currency and party when the payment origin is a sale
...
Closes #14237
2025-09-17 16:28:04 +02:00
Cédric Krier
c76a97868a
Enforce the same party only for draft payments of sales
...
Closes #14236
2025-09-17 16:25:56 +02:00
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
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
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
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
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
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
Nicolas Évrard
77984124dd
Add a test to ensure that Model._order is predictable
2025-09-11 00:30:16 +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
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
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
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
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
ee6f06bea4
Do not warn about missing list price when producing a single product
...
Closes #14146
2025-08-05 15:37:15 +02:00
Cédric Krier
137bb82fcd
Call super for on_change of supplier and customer for Intrastat on shipments
...
Closes #14150
2025-08-07 11:11:32 +02:00
Cédric Krier
8f7ebb18cd
Set web shop currency and methods on sale after calling on_change's
...
The on_change_party set the default currency from the company and methods from
the party.
Closes #14149
2025-08-07 10:28:09 +02:00
Cédric Krier
08ed6e529b
Clear the Shopify tax adjustment before recalculating it
...
Closes #14143
2025-08-21 10:38:46 +02:00
Eddy Boer
7528183eee
Move pricelist field before shipping date on sale form
...
Closes #14040
2025-08-21 09:50:22 +02:00
Adrià Tarroja Caubet
3ed4e9c168
Unpack tables move when ordering by payable_receivable_date
...
Closes #14158
2025-08-13 11:35:04 +02:00
Cédric Krier
013a6768cf
Use a list of values when updating quality operations from done to do
...
Closes #14116
2025-08-12 00:33:19 +02:00
José Antonio Díaz Miralles
8d4b38b339
Include the period in the nested part when searching the invoice party of lines
...
Closes #14125
2025-08-12 00:15:43 +02:00
Cédric Krier
f958c59d05
Test if party is set before using its record name for reconciliation error message
...
Closes #14127
2025-07-30 15:12:15 +02:00
Cédric Krier
16cbeeee2c
Use rfc role in documentation and ignore checking datatracker.ietf.org links
2025-05-03 17:10:58 +02:00
Cédric Krier
29e6c6e0c9
Do not copy reference field by default
...
Closes #14140
2025-08-01 00:10:49 +02:00
Cédric Krier
454e35f555
Set One-Click header to unsubscribe from marketing mailing list
...
Closes #14137
2025-07-29 00:14:02 +02:00