Commit Graph
569 Commits
Author SHA1 Message Date
Cédric Krier 29d86ae0ad Use explicit Stripe API version
Since Stripe v6 the API version is set by the library instead of using the
configured default.

Closes #12641
(grafted from 4e94ed80b740983c932e047f8a439215d5d40028)

--HG--
branch : 6.0
2023-10-12 20:26:35 +02:00
Cédric Krier 6104da65e7 Use purchase line unit when invoice line has no unit
Closes #12462
(grafted from 582bbe2add15d9d856b3a9315b8c8434f66b7248)

--HG--
branch : 6.0
2023-10-09 18:31:37 +02:00
Cédric Krier 3d9ec296d9 Use sale line unit when invoice line has no unit
Closes #12462
(grafted from 2190acdc50ef3ba11c02847b0ee853d2e9c04179)

--HG--
branch : 6.0
2023-10-09 18:31:27 +02:00
Cédric Krier ac88e12308 Do not compute account party for general ledger line without party
Closes #12570
(grafted from d7fee1d3bf9107875d7ac7bd447b1e6e563c33aa)

--HG--
branch : 6.0
2023-10-05 23:18:51 +02:00
Cédric Krier b58bed8718 Make purchase request description always readonly
The changeset 3a0931d04904 added a readonly states but the description is a
substitut to the product so it should be readonly like the product.

Closes #12555
(grafted from 940abe6442e1dda8ef6c0d8a9bc981fa27bf6151)

--HG--
branch : 6.0
2023-10-07 19:22:06 +02:00
Cédric Krier 7767f23a16 Prevent changing company of invoice with lines filled
Closes #12620
(grafted from 4ec64ab34473dd86979b8bb2b02b6c60dbd7e68f)

--HG--
branch : 6.0
2023-10-07 08:47:30 +02:00
Maxime Richez daf3100de6 Set inventory moves readonly for picked customer shipment
Closes #12613
(grafted from e5736b1058c49e0789188d1171cb6fa9506a2143)

--HG--
branch : 6.0
2023-10-05 13:33:29 +02:00
Adrià Tarroja Caubet 566ba8c143 Do not set default value for removed consumed field when copying subscription
The field consumed has been replaced by consumed until since 3ddf6d1eab0d.

Closes #12577
(grafted from 72620b88ebdb06308b437aa7a1c43866c9af04fe)

--HG--
branch : 6.0
2023-09-24 19:07:58 +02:00
Cédric Krier 0eabf4ea82 Increase version number
--HG--
branch : 6.0
2023-10-05 00:27:39 +02:00
Cédric Krier 00241fc420 Prepare release account_payment_sepa-6.0.5
--HG--
branch : 6.0
2023-10-05 00:27:27 +02:00
Cédric Krier 1d8c0fd8f0 Increase version number
--HG--
branch : 6.0
2023-10-05 00:25:05 +02:00
Cédric Krier 525e9e6816 Prepare release account_payment_stripe-6.0.7
--HG--
branch : 6.0
2023-10-05 00:24:53 +02:00
Cédric Krier ea48ff9fba Increase version number
--HG--
branch : 6.0
2023-10-05 00:21:49 +02:00
Cédric Krier fc3986bcf2 Prepare release edocument_uncefact-6.0.1
--HG--
branch : 6.0
2023-10-05 00:21:37 +02:00
Cédric Krier afe299c7c4 Increase version number
--HG--
branch : 6.0
2023-10-05 00:19:02 +02:00
Cédric Krier 7772fb6982 Prepare release product_kit-6.0.15
--HG--
branch : 6.0
2023-10-05 00:18:52 +02:00
Cédric Krier d08dd4629a Increase version number
--HG--
branch : 6.0
2023-10-05 00:17:02 +02:00
Cédric Krier e94e83eb74 Prepare release purchase-6.0.12
--HG--
branch : 6.0
2023-10-05 00:16:50 +02:00
Cédric Krier 613f6c89fe Increase version number
--HG--
branch : 6.0
2023-10-05 00:13:31 +02:00
Cédric Krier e2d4650925 Prepare release sale-6.0.12
--HG--
branch : 6.0
2023-10-05 00:13:19 +02:00
Cédric Krier 81588fbeea Increase version number
--HG--
branch : 6.0
2023-10-05 00:10:40 +02:00
Cédric Krier 4452f75982 Prepare release sale_advance_payment-6.0.2
--HG--
branch : 6.0
2023-10-05 00:10:29 +02:00
Cédric Krier e1d6c45f56 Increase version number
--HG--
branch : 6.0
2023-10-05 00:07:24 +02:00
Cédric Krier 25bd551ba6 Prepare release stock-6.0.22
--HG--
branch : 6.0
2023-10-05 00:07:08 +02:00
Cédric Krier f1a892e918 Test also the amount of invoice lines without product to compute the UNCEFACT type
Closes #12426
(grafted from ba2ab66f19af216c4a780dd678d55ea743dfb89a)

--HG--
branch : 6.0
2023-07-22 16:37:00 +02:00
Cédric Krier 5689202138 Use empty string if street is None when rendering UNCEFACT 16B-CII
Closes #12425
(grafted from 63941b9cb66f1c97c8fa242702baf3cd07f17203)

--HG--
branch : 6.0
2023-07-22 16:31:25 +02:00
Cédric Krier 070eba3ace Select only SEPA mandates of the same company as the payment
Since ce8d7a19766a record rules (and especially company rules) are no more
enforced without check access. So the mandate selection should test explicitly
for the same company.
For that a new generator method is added to party to yield mandates that can
be used for a payment so this method can be easily extended to add more
constraints.

Closes #12324
(grafted from 632676e2c4244cba2ced1fa6d455219deaeefae5)

--HG--
branch : 6.0
2023-08-27 14:02:57 +02:00
Cédric Krier b523ac326e Create invoice line for not line only if it is for the first invoice
This is the only case where we are sure that the layout will be conserved.

Closes #12320
(grafted from fd07f6017e8154dbb5740c296e48d4c974eaf3e8)

--HG--
branch : 6.0
2023-08-25 22:37:22 +02:00
Sergi Almacellas Abellana 0b1365e9b7 Set taxes date on recall invoice lines
Closes #12513
(grafted from 685de7d55b0723526b5e5b3731e4d29f169007f3)

--HG--
branch : 6.0
2023-08-23 09:42:20 +02:00
Sergi Almacellas Abellana cadbaf8b47 Avoid future invoice date in test scenario
issue10759
review360191002
(grafted from 56e9772f8b27a489677e37e2dd82e7b6e40c5bc1)

--HG--
branch : 6.0
2021-09-30 13:12:24 +02:00
Cédric Krier 5e3efdc1b7 Recall advance line only for the amount not yet recalled
The method get_recall_lines is called each time an invoice is created so it
should consider the amount previously recalled.

Closes #12319
(grafted from e29bfa6cb09fce837d5f01b20468e42bbfce5def)

--HG--
branch : 6.0
2023-09-24 11:23:22 +02:00
Cédric Krier 5a57867a0c Order by descending id to get the last 10 purchases
Closes #12497
(grafted from f71e3a79e0c9249616a59ef2f96e807b12af3a44)

--HG--
branch : 6.0
2023-08-17 16:18:21 +02:00
Cédric Krier 3bff7a703f Use absolute quantity to compute sale price
Closes #12496
(grafted from 77e8d638383a1a8ea96dd64fbc7ed3f1d8d5ccc7)

--HG--
branch : 6.0
2023-08-17 16:30:28 +02:00
Cédric Krier 338361b225 Set a return url when confirming setup intent in test scenario
A return URL is now required if the payment methods do not disable it.

Closes #12509
(grafted from 6e9ec5ef33f3ad2e3d6d590bdcbde2d1c28f68c0)

--HG--
branch : 6.0
2023-09-04 23:38:57 +02:00
Cédric Krier fd72e52de6 Do not try to duplicate moves for transit if internal shipment has no move
Closes #12541
(grafted from 812f190f0f95914a8a68332584e54405a7e68347)

--HG--
branch : 6.0
2023-09-04 16:47:49 +02:00
Cédric Krier a599cd7c50 Return 0 as default recomputed fixed cost price
Closes #12535
(grafted from c172eea26aec7b6940dfe135875faf978f5095da)

--HG--
branch : 6.0
2023-08-29 14:24:58 +02:00
Sergi Almacellas Abellana 183b945d84 Add __slots__ to product kit AmendmentLineMixin
Closes #12533
(grafted from d987051f942d0ed31faaed7540b8840d51cc767f)

--HG--
branch : 6.0
2023-08-29 10:14:53 +02:00
Cédric Krier 9f176fa2b0 Increase version number
--HG--
branch : 6.0
2023-09-06 23:38:24 +02:00
Cédric Krier 6b613e7596 Prepare release account-6.0.18
--HG--
branch : 6.0
2023-09-06 23:38:11 +02:00
Cédric Krier efd8fa75ac Increase version number
--HG--
branch : 6.0
2023-09-06 23:35:49 +02:00
Cédric Krier c6b7f5d9dc Prepare release account_invoice-6.0.13
--HG--
branch : 6.0
2023-09-06 23:35:37 +02:00
Cédric Krier 845ea05239 Increase version number
--HG--
branch : 6.0
2023-09-06 23:32:47 +02:00
Cédric Krier 8530a59e4a Prepare release account_payment_clearing-6.0.2
--HG--
branch : 6.0
2023-09-06 23:32:37 +02:00
Cédric Krier 7ba6b12747 Increase version number
--HG--
branch : 6.0
2023-09-06 23:27:54 +02:00
Cédric Krier 9b59b2e113 Prepare release product_cost_history-6.0.2
--HG--
branch : 6.0
2023-09-06 23:27:45 +02:00
Cédric Krier c33bbc98a3 Increase version number
--HG--
branch : 6.0
2023-09-06 23:24:01 +02:00
Cédric Krier dffb22ca62 Prepare release product_kit-6.0.14
--HG--
branch : 6.0
2023-09-06 23:23:50 +02:00
Cédric Krier 9717fef6c7 Increase version number
--HG--
branch : 6.0
2023-09-06 23:18:50 +02:00
Cédric Krier 90502ba35e Prepare release sale_promotion-6.0.3
--HG--
branch : 6.0
2023-09-06 23:18:40 +02:00
Cédric Krier 9c0a2c75e5 Increase version number
--HG--
branch : 6.0
2023-09-06 23:16:19 +02:00