Commit Graph
57862 Commits
Author SHA1 Message Date
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
Sergi Almacellas Abellana af093904ef Add employees to rule context for timesheet reporting models
Closes #13038
2024-02-16 00:35:52 +01:00
Sergi Almacellas Abellana 58fed762e5 Add employees to rule context for attendance sheet models
Closes #13036
2024-02-16 00:37:03 +01:00
Cédric Krier 53a383db4d Restore passing activatedeps to load_modules when initialize to Pool
e00d867eda85 removed the argument.

Closes #13000
2024-02-05 12:59:35 +01:00
Cédric Krier 2c121f61cc Support drop event on binary select button and image element
Closes #12924
2024-01-11 16:21:53 +01:00
Cédric Krier 8d0799bb85 Allow RPC on get_by_bank_account of statement journal 2024-02-05 09:59:35 +01:00
Cédric Krier d4f946b5a9 Search statement journal by bank account and currency
Closes #8492
2024-02-05 09:59:25 +01:00
Cédric Krier 524f6abec9 Split MT940 account into IBAN and currency for Rabobank
Closes #12882
2024-01-01 14:20:29 +01:00
Cédric Krier efa2b0efa7 Update documentation of production 2024-02-04 12:15:22 +01:00
Cédric Krier c02fe6b97a Update documentation of account statement AEB43 2024-01-13 16:38:34 +01:00
Sergi Almacellas Abellana f1fac7036e Reset amount to pay with Decimal
Otherwise amount to pay can not copy sign from line.

Closes #13023
2024-02-12 23:45:14 +01:00
Maxime Richez 46f4e09324 Order journals by matching sequence in configuration
Closes #13001
2024-02-12 23:26:54 +01:00
Maxime Richez c511c7045e Order journal by matching sequence when searching for match
Journals are ordered by default by name instead of matching sequence.

Closes #13001
2024-02-12 23:22:23 +01:00
Cédric Krier 2eec02b501 Update documentation of account statement 2024-02-05 22:58:38 +01:00
Cédric Krier d4eae01e14 Wait for dispute status change in Stripe scenario
Closes #12221
2024-02-03 16:12:12 +01:00
Cédric Krier 5da2affe6d Add test scenario for lot trace with production 2023-10-23 00:09:23 +02:00
Cédric Krier 2108bd10fe Include stock moves with same location in upward/downward traces
Closes #12637
2023-10-22 23:51:21 +02:00
Cédric Krier 3459ddefc9 Order downward lot trace by descending date 2023-10-22 22:38:57 +02:00
Cédric Krier 2778cd905a Restrict lot trace to move with lot 2023-10-23 08:02:03 +02:00
Cédric Krier fe946540cc Add locations to stock lot trace
Closes #12659
2023-10-22 22:36:01 +02:00
Cédric Krier 7a280ff797 Call on_change_with only for later field names
Closes #13016
2024-02-07 21:47:12 +01:00
Cédric Krier 946749eb81 Update comparison fiscal year, periods and dates of Income Statement Context
The comparison fields should behave the same way as the default fields.
2024-01-27 10:58:41 +01:00
Sergi Almacellas Abellana f834a5e940 Fill fiscal year when changing company of GL and Income statement context
Closes #11208
2024-01-27 10:59:59 +01:00
Cédric Krier 7f0c8c6705 Improve documentation about escaping wildcards 2024-01-30 12:46:35 +01:00
Cédric Krier 45ab83cba5 Return new instances of PYSON object from PYSON shortcut methods
Closes #12985
2024-02-03 19:29:59 +01:00
Cédric Krier 276c2e6338 Do not insert contact mechanism between recipients hidden fields
Since e356d97a0f59 there are two recipients hidden fields in the email
template view.

Closes #12981
2024-02-01 12:10:59 +01:00
Cédric Krier d48292e786 Start editing only if clicked row is already the current row
Closes #12971
2024-01-29 23:18:40 +01:00
Cédric Krier e9089e17b0 Toggle a single instance of help dialog when pressing F1
Closes #12970
2024-01-29 20:33:22 +01:00
Cédric Krier 9cc7de53e6 Compare original functions to compute access of table query models
The bound methods are different because they are bounded to different classes.

Closes #12965
2024-01-29 11:35:16 +01:00
Cédric Krier 12bda46e38 Ignore bnr.ro when checking documentation link
Closes #12979
2024-02-01 09:47:57 +01:00
Cédric Krier 122dd1aa57 Apply access rights only on resource record linked to an instance
Closes #12977
2024-01-30 17:09:22 +01:00
Cédric Krier 20fff88603 Add support for timestamp field as datetime in domain parser
Closes #12776
2024-01-30 12:07:21 +01:00
Cédric Krier a8ee857681 Compute name of the product for stock move
So we can customize the product name to use the customer or supplier name.

Closes #12893
2024-01-04 23:54:49 +01:00
Cédric Krier b4608428fb Compute name of the product for sale, purchase and invoice lines
Instead of having the code in the report templates, we use a property that can
be extended without updating the template.

Closes #12892
2024-01-04 23:55:09 +01:00
Dani Möller bd54284d6f Use processing pool and selector as context managers
Delegate closing both resources to the with instruction.
2024-02-04 19:45:59 +01:00
Dani Möller aa96c33cbc Rewrite worker with concurrent.futures instead of multiprocessing
Unlike multiprocessing pools, the concurrent library pools will raise an
exception if child processes have died and can't accept further tasks. This
should cause the main worker to stop instead of stalling in an inifinite wait.

Introduce a dummy noop execution in the pool to probe if it is still operative
to mitigate the volume of lost tasks if the next submited execution would raise
a BrokenExecutor exception. This isn't 100% bulletproof because the pool might
still break between the probe and a new task being pulled.

The maxtasksperchild CLI option will only work for Python 3.11 onwards because
former concurrent.futures pools do not support this option.

Closes #11104
2024-02-04 20:32:09 +01:00
Cédric Krier bfbab59ebf Use usage from context for default contact mechanism on party 2024-01-04 18:48:14 +01:00
Cédric Krier 5181591ed7 Use template substitution for company header/footer
Closes #12699
2024-01-04 18:55:06 +01:00
Cédric Krier 1e0a1d648c Use latest link to document incoming OCR Typless documentation 2023-12-27 11:36:03 +01:00
Cédric Krier 7981f19cc8 Support second currency on statement line
Closes #12673
2023-10-30 17:37:54 +01:00
Cédric Krier 94a51aaa64 Invert sign of amount in second currency to reconcile statement line with invoice
When using the company currency, the amount used is credit - debit which is in
the opposite sign of amount in second currency.

Closes #12688
2023-10-30 17:44:35 +01:00
Sergi Almacellas Abellana 53304ebfd0 Fix typo in lot unit help text 2024-01-30 15:53:42 +01:00
Sergi Almacellas Abellana 79af25cee7 Fix typo in purchase change unit of measure error message 2024-01-30 15:51:16 +01:00
Cédric Krier 9900a62c95 Set default lead time for product to 0
It is assumed that most business will try to deliver customer as fast as
possible.

Closes #12728
2023-12-23 19:27:01 +01:00
Cédric Krier 5288fca2c5 Use csv reader to paste clipboard content in tree view 2023-12-22 14:28:24 +01:00