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
Cédric Krier
04596def79
Prepare release sale_subscription-6.0.4
...
--HG--
branch : 6.0
2023-09-06 23:16:08 +02:00
Cédric Krier
de5a1863b6
Increase version number
...
--HG--
branch : 6.0
2023-09-06 23:14:16 +02:00
Cédric Krier
4d0f34e483
Prepare release stock-6.0.21
...
--HG--
branch : 6.0
2023-09-06 23:14:03 +02:00
Cédric Krier
734099490d
Increase version number
...
--HG--
branch : 6.0
2023-09-06 23:12:10 +02:00
Cédric Krier
1b0e8a33e0
Prepare release stock_lot-6.0.1
...
--HG--
branch : 6.0
2023-09-06 23:12:00 +02:00
Cédric Krier
d7d6990a51
Increase version number
...
--HG--
branch : 6.0
2023-09-06 23:09:44 +02:00
Cédric Krier
18451e5a3b
Prepare release stock_secondary_unit-6.0.1
...
--HG--
branch : 6.0
2023-09-06 23:09:34 +02:00
Cédric Krier
3d3226039a
Update origin of outgoing moves for internal shipment
...
When synchronize moves, the origin of outgoing is updated to point the
new incoming move instead of the original one.
Closes #12272
(grafted from f36f6212c3596d5860722535adc80349496d07be)
--HG--
branch : 6.0
2023-08-25 18:08:17 +02:00
Maxime Richez
607a3cb942
Update origin of inventory moves for customer shipment
...
When synchronize inventory to outgoing moves, the origin of the inventory is
updated to point to the new corresponding outgoing move instead of the
original one.
Closes #12272
(grafted from 72fbac94b52006eaa854786b60aa1faf1a2c8d48)
--HG--
branch : 6.0
2023-08-25 16:34:06 +02:00
Cédric Krier
b7a617e697
Store synchronized moves of customer shipment even when quantity is not updated
...
ed41959390ff added a synchronization on assign to prevent infinite warning
loop on pack if it creates new move without origin.
But 38e2a76db719 refactoring lost this behavior.
Closes #12503
(grafted from 903204d5d1728e818ec44bf5aa0a629c2efd1a65)
--HG--
branch : 6.0
2023-08-18 14:47:39 +02:00
Cédric Krier
0861096f67
Use only stock move with cost price for product cost price history
...
The cost price on stock move is only required by validation so we can not
ensure over time that all the stock moves selected have a cost price.
Closes #12468
(grafted from adea1ec5dd32ec8f1a353a6f3105b82707485914)
--HG--
branch : 6.0
2023-08-12 20:10:06 +02:00
Cédric Krier
696e8095cc
Try to post only clearing move of journals from the contextual company
...
Closes #12453
(grafted from b71b06a871a7fb67a202f1ae242a04185078c614)
--HG--
branch : 6.0
2023-08-05 00:27:11 +02:00
Cédric Krier
b2b1163812
Generate invoices and consumptions only for contextual company
...
Closes #12345
(grafted from 9ca33a199252180c7875438b2f5c241d8e5b6829)
--HG--
branch : 6.0
2023-07-24 23:51:00 +02:00
Cédric Krier
66a8a828eb
Call the same search method in super call when extending for components
...
Closes #12434
(grafted from 502f57a1d2929ff336c6acbd5a6c3d4628f4d689)
--HG--
branch : 6.0
2023-07-25 11:02:09 +02:00
Adrià Tarroja Caubet
5af2b59359
Reuse cumulate per party from context as default value for general ledger line
...
Closes #12367
(grafted from 5a95256398af9136cab85c1ca4c4d84ae23b70ec)
--HG--
branch : 6.0
2023-07-05 16:32:56 +02:00
Cédric Krier
a66ece3d4d
Skip promotion based on categories if line has no product
...
Closes #12351
(grafted from ca27ba40eda89e3933e595810eab24fe25504ef7)
--HG--
branch : 6.0
2023-08-02 19:09:51 +02:00
Cédric Krier
944afc59ff
Add .readthedocs.yaml configuration [skip ci]
...
This is required by Read the Docs service:
https://blog.readthedocs.com/migrate-configuration-v2/
Closes #12344
(grafted from ffef63a3959b55756c395ebfd3ee1224f4dc7611)
--HG--
branch : 6.0
2023-08-06 19:31:44 +02:00
Cédric Krier
628b3bb336
Require lines when paying invoice with write-off or overpayment
...
This is needed ensure that at least one line to pay of the invoice is
reconciled.
The lines and payment lines are also shown for overpayment.
Closes #12403
(grafted from 72345bf646caff0e1aa9c373a68906270fe7b688)
--HG--
branch : 6.0
2023-07-14 11:59:19 +02:00
Maxime Richez
8474358027
Sync secondary unit on supplier and internal shipments
...
When synchronize the outgoing or incoming move, the secondary unit must be
copied from the template.
Closes #12301
(grafted from b190ea97bd1a2040686ed6c9565ac20c45c529f4)
--HG--
branch : 6.0
2023-08-02 19:28:47 +02:00
Cédric Krier
7f28654b30
Increase version number
...
--HG--
branch : 6.0
2023-08-01 21:55:49 +02:00
Cédric Krier
c3b0bc00d3
Prepare release marketing_email-6.0.2
...
--HG--
branch : 6.0
2023-08-01 21:55:39 +02:00
Cédric Krier
824186cedf
Increase version number
...
--HG--
branch : 6.0
2023-07-31 19:17:05 +02:00
Cédric Krier
acb9c74943
Prepare release party-6.0.4
...
--HG--
branch : 6.0
2023-07-31 19:16:55 +02:00
Cédric Krier
76ebbe7370
Increase version number
...
--HG--
branch : 6.0
2023-07-31 19:16:16 +02:00