Commit Graph
1276 Commits
Author SHA1 Message Date
Cédric Krier 79c5809cc2 Fix typo when processing refund on charge refund updated webhook from Stripe
Closes #13137
2024-03-27 19:38:52 +01:00
Cédric Krier 4f7acf0bbf Use duck typing to convert single UPS package into a list
It seems that UPS has fixed its API such that it always returns a list for
PackageResults but it is still better to test the actual result.

Closes #13116
2024-03-21 16:55:01 +01:00
Cédric Krier 2a8626afd5 Permit to remove ignored invoices and stock moves
Closes #13066
2024-03-01 14:44:47 +01:00
Cédric Krier df31d37ae5 Enforce domain on ignored and recreated invoices and stock moves 2024-03-01 14:55:14 +01:00
Cédric Krier 1846050401 Do not set sale nor purchase in exception for invoice with cancel move
Cancelled invoices with a cancel move should be considered as paid.

Closes #13085
2024-03-08 12:36:57 +01:00
Cédric Krier 40d4fe61ac Set invoice line state to paid when invoice is cancelled with cancel move
Such invoice line should be considered as booked for example to compute the
invoiced quantity of stock move.

Closes #13085
2024-03-08 12:29:03 +01:00
Cédric Krier f409e36e91 Do not delete purchase request with a purchase line when supply stock
The design does not ensure that draft purchase request can not be linked to a
purchase line.

Closes #12974
2024-02-05 23:15:21 +01:00
Sergi Almacellas Abellana 751cf5081a Update documentation of stock forecast 2024-03-17 15:27:08 +01:00
Sergi Almacellas Abellana d2e269e66a Set warehouse by default on forecast
Closes #12717
2024-03-17 15:26:16 +01:00
Cédric Krier 10cdcd5826 Document how to fill opening balance 2024-02-10 20:29:00 +01:00
Cédric Krier 743e938baa Set empty currency when reconcile no lines
Since f9560247a0fc the currency for the reconciled lines is computed but when
there is no line, there is no company to get currency from.

Closes #13047
2024-03-02 11:39:29 +01:00
Sergi Almacellas Abellana c3117568ad Round code price before storage when modifying from product wizard
Closes #13041
2024-03-15 19:18:30 +01:00
Adrià Tarroja Caubet 3da23862c5 Test phone number on 347 and 349 reports 2024-03-07 10:38:57 +01:00
Adrià Tarroja Caubet 1346293974 Check country code from phonenumber as int
Closes #13060
2024-02-27 13:29:54 +01:00
Cédric Krier b36a38a14a Allow account users to delete moves
Closes #12976
2024-01-30 16:37:15 +01:00
Cédric Krier 29de76f324 Activate employee based on dates
Closes #12077
2024-01-30 10:34:34 +01:00
Cédric Krier ed0b38db47 Add location name fields to move 2024-01-04 10:56:25 +01:00
Cédric Krier da08123b44 Add stock_product_location_place module
Closes #12797
2024-03-07 13:44:35 +01:00
Cédric Krier a426898971 Try to assign automatically planned shipments in the past
Closes #13030
2024-02-09 16:44:46 +01:00
Cédric Krier 31e3eb142c Unify shipment assignation scheduled jobs
The order shipments are assigned is important as it determines which order
will be done or not. So we must try to assign all the shipments and
productions following a defined order.

Closes #13027
2024-02-09 16:42:28 +01:00
Cédric Krier 88ac130d2f Remove readthedocs 2024-02-18 18:35:54 +01:00
Cédric Krier 4632152d2b Do not fail on leap day to create next fiscal year
Replace the year of a date is not safe, it is better to use relativedelta.

Closes #13064
2024-02-29 15:36:16 +01:00
Cédric Krier 555ae0f465 Do not copy sale lines when copying purchase requests
Closes #12918
2024-02-12 23:54:07 +01:00
Maxime Richez 751e549995 Do not enforce empty shipment cost method on cancelled state
Closes #13018
2024-02-22 00:06:28 +01:00
Cédric Krier 9795da5179 Check OAuth environment to run UPS scenario
6723c2dced5b changed the environment variables needed to run the scenario.
2024-02-06 16:11:50 +01:00
Cédric Krier fa7ec2eecd Increase transaction counter when erasing party
As the erase is done using direct SQL query, the counter is not increased so
there is no log event created because the wizard use the counter to determine
if there were some modification and thus create a log entry.

Closes #13002
2024-02-05 18:57:28 +01:00
Cédric Krier ea9740846e Clear stock moves in staging when validating amendment
Closes #12999
2024-02-05 11:51:00 +01:00
Cédric Krier bb9a1fd2f5 Fix typo in cancel confirm message of customer shipment 2024-02-04 22:35:51 +01:00
Cédric Krier f8c0b16f7e Increase maximal number of retries in test scenario
When many scenario are run with the same account in parallel, the processing
time of Stripe can increase a lot so we need to wait longer.
2024-02-20 11:28:45 +01:00
Cédric Krier 76da0b26a6 Format direct debit name of Stripe payment method
Closes #12990
2024-02-02 19:52:35 +01:00
Cédric Krier ca958a1296 Return all Stripe payment methods instead of only card
Closes #12990
2024-02-02 19:51:34 +01:00
Cédric Krier a29ef14d49 Remove unused get_mime on notification email attachment 2024-01-25 16:08:47 +01:00
Cédric Krier 25b8316733 Use EmailMessage to construct emails
Closes #12958
2024-01-25 16:04:05 +01:00
Dimitrios Josef Moustos 6206ef7bb0 Fill shipment number only in waiting state
Closes #12905
2024-02-19 22:51:55 +01:00
Dimitrios Josef Moustos a327edd0a5 Fill production number only in waiting state
Closes #12904
2024-02-19 22:21:38 +01:00
Cédric Krier 166b47f3b1 Set receivable payment menu on same level as payable menu 2024-01-13 18:59:37 +01:00
Cédric Krier f9993960b9 Reset table of BOM output with None
This allow to customize the name.
2023-12-26 12:21:20 +01:00
Cédric Krier a66c7c42b1 Update help of account taxes
Since d66471767177 the taxes are not used as default for manual encoding of
move lines.
2024-02-07 09:24:53 +01:00
Cédric Krier ab83059056 Limit contextual ids in table query for product quantities by warehouse
Closes #12968
2024-02-05 23:35:24 +01:00
Cédric Krier 17ca6631e0 Reduce contextual ids in table query for product quantities by warehouse
Closes #12968
2024-02-01 23:17:48 +01:00
Cédric Krier f87c26f583 Use set to define sale grouping fields
This avoid to have duplicate domain clause on the same field.
2023-12-23 01:29:31 +01:00
Cédric Krier ce530c6c0b Remove custom table names 2023-12-26 12:18:00 +01:00
Cédric Krier 9223f374bf Use same sign when deducing ignored stock moves of remaining quantity to be paid
When the quantity of the line is negative, the quantity of the ignored stock
move must be added instead of subtracted.

Closes #12988
2024-02-02 13:48:12 +01:00
Cédric Krier a961d7c205 Test if specific exception is raised in stock tests 2024-01-24 10:31:22 +01:00
Cédric Krier ad361cbdab Document Units of Measure conversion API 2024-01-23 23:31:48 +01:00
Cédric Krier 1cb00830de Document product price API 2024-01-23 23:31:34 +01:00
Cédric Krier 8ac18badfc Remove unused template variable to order product record name 2024-01-23 23:08:46 +01:00
Cédric Krier 86b9b16a95 Add product deactivable mixins
Those include the product and template active field in the expression when
converting domain on active field.

Closes #12955
2024-01-24 10:16:04 +01:00
Cédric Krier ba1d556234 Keep copying readonly moves of shipments
Since cf8f1399bc1b readonly fields are not more copied but on shipment the
moves is readonly only to force the usage of Function fields.
So we could convert the readonly attribute by a static readonly states.

Closes #13004
2024-02-06 00:12:55 +01:00
Hartmut Goebel c60534e7ff Handle SOAP errors in EU Check Vies service
When introducing CheckVIES wizard in 7c90d7100f10, it was based on module
'vatnumbers' which returned an XML tree where we needed to pick the
'faultstring' from.
Since aeb2d1398456 it uses 'stdnum', which uses either 'zeep', 'suds' or
'pysimplesoap' as backend, all of which provide the faultstring in the
exception arguments. Unfortunately 'suds' puts it into 'args[1]', thus a loop
is required.

Also add missing error-codes from EU Check Vies service.

Closes #11147
2024-02-16 09:51:05 +01:00