Commit Graph
60741 Commits
Author SHA1 Message Date
Cédric Krier 4d9a0e47d8 Do not set twice the extension in the attachment name for the UBL documents
Closes #14982
2026-08-01 10:49:03 +02:00
Cédric Krier 153dda4191 Do not compare to None PaymentDueDate value from findtext
It is not necessary because findtext returns a string.
2026-08-01 00:57:28 +02:00
Cédric Krier 7c6c676f97 Use DueDate as fallback for payment term date for UBL without payment terms
Closes #14981
2026-08-01 00:56:10 +02:00
Cédric Krier 7e462ffe52 Normalize the quantity before calculating the number of digits when parsing UBL
Trailing zero in the quantity should not require a bigger precision for the
unit.

Closes #14973
2026-07-28 19:27:57 +02:00
Cédric Krier 750a937024 Update the Stripe API version 2026-08-04 14:15:47 +02:00
Cédric Krier 8414cd718f Restrict protocols allowed for weasyprint to http(s)
Closes #14947
2026-07-24 10:49:42 +02:00
Cédric Krier 4bd7cfa657 Clear Shopify ID for product template no more found on Shopify
If the Shopify ID of a template can not be found on Shopify, there is no need
to keep it as we could not reactivate the Shopify product it is added back.

Closes #14980
2026-07-30 16:37:30 +02:00
Cédric Krier 1e2c1ab795 Do not set a shipment cost method for Shopify order without shipping line
Without a shipping line, there is no carrier selected and thus no shipment cost
method to set.

Closes #14976
2026-07-29 19:30:48 +02:00
Cédric Krier 605bb21a07 Set button decorator of update Peppol status to a different method than the cron
The `ModelView.button` decorator requires to be called with a list of records
which the cron does not do.

Closes #14972
2026-07-28 19:23:07 +02:00
Cédric Krier 6b99dc69cc Use binary version of psycopg for tests 2026-07-17 22:11:32 +02:00
Cédric Krier 5f53ac1629 Add menuitem to the documentation of the creation of account move from template 2026-07-07 19:11:07 +02:00
Cédric Krier 4572c4e3e5 Remove "close" prefix to processing menu entries of accounting 2026-07-07 19:10:08 +02:00
Cédric Krier 087db7dfcb Set reconcile wizard as first menu entry for account processing 2026-07-07 19:08:34 +02:00
Cédric Krier ff0cc1a6b9 Remove account prefix to account moves menu entry 2026-07-07 19:11:56 +02:00
Cédric Krier a96cb0a84f Replace open journal wizard by a context model
Closes #14937
2026-07-07 19:06:14 +02:00
Nicolas Évrard 138e95f7d8 Set the utc flag on Sao.Date
Closes #14510
2026-07-27 10:39:01 +02:00
Cédric Krier 7e84601c49 Clear the value of input select once data has been read
The display does not clear the input if the current record is changed so we
must ensure that the input is always empty once file has been selected.

Closes #14482
2026-07-27 10:59:31 +02:00
Cédric Krier a5e64fc509 Use Text field for HTML content of report record
The field must contain strings in order to allow edition with the HTML editor.

Closes #14922
2026-07-24 16:10:12 +02:00
Cédric Krier 54183ea818 Make statement lines readonly when origins are filled
Closes #14965
2026-07-22 12:28:03 +02:00
Cédric Krier 55b26ce2bd Add scenario to test the modification of stock lot without moves 2026-07-21 19:14:58 +02:00
Cédric Krier a062121249 Remove unused class parameter in the function to find move for stock lot
The function is called only when the state as parameter.

Closes #14963
2026-07-21 19:14:20 +02:00
Cédric Krier 13bdfa8541 Use external parameter to activate the check for lot modification without move
#14963
2026-07-21 19:12:14 +02:00
Cédric Krier efa6379b92 Calculate the number of parameters in INSERT query using the columns list
The column names list does not contain the create_uid nor create_date columns
instead of columns list.

Closes #14800
2026-07-23 11:37:36 +02:00
Nicolas Évrard c559a119ac Add login_service value when the redirection URL misses it
Closes #14893
2026-06-11 21:30:46 +02:00
Cédric Krier e7954890d1 Use cell cursor on table row
This allows to distinct between clicking on the row and on the links.

Closes #14968
2026-07-23 18:39:42 +02:00
Cédric Krier 9a51438e80 Prevent switching row when double click on Many2One link
Closes #14967
2026-07-23 18:27:41 +02:00
Cédric Krier 3cddae8e8b Do not set company on set production cost cron in the test scenario
Since bea535142d87 the company can not be set on cron that does not need it.
2026-07-20 13:38:38 +02:00
Cédric Krier 36a3b84c54 Always use the shipment address of the sale as delivery address for the shipment
The warehouse on the sale is not always filled instead it is the the warehouse
of the shipment that must be used for the comparison. But this makes the test
useless as the shipment address is always used ad delivery address.

Closes #14954
2026-07-13 18:26:34 +02:00
Adrià Tarroja Caubet 92bd0d7467 Do not create a production request when quantities are the same
If the available quantity is exactly the same as the quantity sold, there is no
need to create a production request.

Closes #14585
2026-07-24 10:12:57 +02:00
Cédric Krier 4c4020bc1c Update zeep version for DPD
This allows to activate the in-memory cache.
2026-07-16 16:18:18 +02:00
Cédric Krier 0035590218 Set back XML record for English with other languages 2026-06-25 17:10:23 +02:00
Cédric Krier 6a790d3162 Add search attribute to XML record tag
Closes #13247
2026-06-25 16:50:42 +02:00
Cédric Krier f0878cb49b Do not copy vlist in ModelSQL.create
The vlist is already a copy from ModelStorage._before_create.

Closes #14953
2026-07-13 15:56:31 +02:00
Cédric Krier c3c44c4875 Remove unnecessary depends for on_change_product of purchase requisition line 2026-07-08 14:27:07 +02:00
Cédric Krier 45611ca1fd Compare tab against view index less or equals to 0
The view index may be -1 is the view is not yet displayed.

Closes #14961
2026-07-17 12:58:29 +02:00
Cédric Krier b10eee3181 Allow npm to run puppeteer scripts
Closes #14960
2026-07-17 11:40:28 +02:00
Cédric Krier 7f07f8afe4 Use ngettext for warning message about pending purchases of outsourced productions 2026-07-16 16:08:38 +02:00
Cédric Krier b38389bfe2 Warn when resetting to draft or cancelling production with pending purchase lines 2026-07-16 15:58:16 +02:00
Cédric Krier 81ef47735a Do not create a purchase line for outsourced production with already one
Closes #14759
2026-07-16 15:57:11 +02:00
Cédric Krier 1f28439b09 Raise the final exception when all retries of Shopify request has failed 2026-07-21 17:33:03 +02:00
Cédric Krier a089427b1d Use dict.get instead of getattr to retrieve user errors from Shopify request
The GraphQL library returns dict instead of object.

Closes #14964
2026-07-21 17:32:21 +02:00
Cédric Krier 1f5997247b Format numeric values in XML templates using fixed-point notation
Closes #14948
2026-07-15 18:07:22 +02:00
Cédric Krier 77966e69f8 Update Shopify product if any variant of the product has been removed
Closes #14955
2026-07-14 17:07:07 +02:00
Cédric Krier 4052e3bd7f Show warehouses field of cron only for methods that need them
Closes #14952
2026-07-13 15:34:03 +02:00
Cédric Krier 24405399a0 Show companies field of cron only for methods that need them
Closes #14952
2026-07-13 15:33:35 +02:00
Nicolas Évrard b167bd1e77 Do not fetch sub fields definition when prefetching views
Closes #14941
2026-07-08 14:59:40 +02:00
Cédric Krier 289b433b05 Remove direct URL to DPD documentation
The website requires login and Javascript to download the documentation.
2026-07-13 08:06:15 +02:00
Sergi Almacellas Abellana 1d6b88afaa Test column_ methods in tests_fields_methods 2026-07-06 20:05:23 +02:00
Cédric Krier 907c6a49fe Remove entry_points_selectable backport
Since c0f49db907fc the minimal Python version is 3.10 which supports selectable
entry-points.
2026-07-07 19:19:25 +02:00
Cédric Krier 059a304bc9 Set an UPS account number to the custom agent in test scenario
#14876
2026-07-13 17:25:29 +02:00