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
ec5a00c82e
Make pool initialization atomic
...
An instance of pool is created per thread and it stores a reference to the
current pool values.
When the pool is initialized, a temporary reference is set on the instance so
only the values for this thread is modified. Once the initialization is
complete, the new pool value replace the global values.
Each instances is refreshed with the global values after the pool has been
stopped.
Closes #11401
2024-03-06 18:28:38 +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
Cédric Krier
2e722731c7
Delay the selection of first visible sibling tab
...
When the current tab is hidden, the other tabs may not have their definitive
visibility so we must delay the selection.
Closes #13024
2024-02-12 13:32:12 +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
2dde73b737
Unify help text of command line
2024-01-26 00:09:37 +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
Cédric Krier
ea53fb3ce8
Test number of dots in name before computing unique value from a domain
...
The type of value may not correspond with the single_value parameter if the
domain does not apply directly to the field but to a nested field.
Closes #12843
2024-02-12 11:59:13 +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
cf554ff391
Install all documentation requirements at once
2024-02-03 23:56:52 +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
53460ad511
Add duration in logging message of with_pool decorator
...
This applies the same design as 180997544b2e did to the dispatcher.
2024-02-06 14:17:10 +01:00
Cédric Krier
ffaa3f096c
Clear transaction tasks on retry of with_transaction decorator
...
Closes #13008
2024-02-06 13:26:34 +01:00
Cédric Krier
f02c9cf04c
Lock table at transaction start for with_transaction decorator
...
Since c8771e45b861 TransactionError is raised if a table is not locked at the
transaction start. The decorator must manage such exception in case the
decorated route needs to lock a table.
Closes #12962
2024-02-06 12:59:00 +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
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
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
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
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
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
Cédric Krier
32cfd57d27
Add contextual menu to copy cell and column
...
Closes #12824
2023-12-22 14:48:01 +01:00
Cédric Krier
4a58965be5
Rename menu entry for copy/paste rows
2023-12-22 14:08:37 +01:00
Cédric Krier
4a0a6faea6
Manage assignation for customer shipment with same picking and output location
...
Closes #12815
2023-12-21 15:01:14 +01:00
Cédric Krier
c6f095c760
Do not copy readonly relational fields
...
Closes #12849
2023-12-20 13:56:57 +01:00
Cédric Krier
04778f67de
Allow user-select on cell except from menu
...
Closes #12824
2023-12-12 18:37:24 +01:00
Cédric Krier
160fae1b79
Disable user-select everywhere
...
user-select is now a standard.
2023-12-12 18:36:58 +01:00
Cédric Krier
3e3c047ca1
Define explicitly escape char used for like operators
...
For now we rely on the default value set by python-sql but SQL-92 does not
define a default value.
Closes #12933
2024-01-14 13:32:27 +01:00
Cédric Krier
c67a5fd5e1
Use only debit and credit sign to compute payment kind of move line
...
Closes #12932
2024-01-13 18:53:13 +01:00
Cédric Krier
10505dd484
Remove duplicate subdivision in Australia address format
...
Closes #12928
2024-01-13 14:00:06 +01:00
Cédric Krier
eb450247ee
Consider null value as data for binary field
...
null value is set when the widget is cleared so it should not try to read it
again from the server.
Closes #12926
2024-01-11 16:30:10 +01:00
Cédric Krier
970f40f3be
Use internal shipment location to compute warehouse of transit stock move
...
When the location is the transit location, the warehouse to be used is the
warehouse of the corresponding location on the internal shipment.
Closes #12746
2024-01-11 17:09:50 +01:00
Cédric Krier
ee89b4cfac
Use dedicated warehouse properties for cost
...
#12746
2024-01-11 18:30:01 +01:00
Cédric Krier
3e40277da9
Activate scrollbar on text and richtext widget and limit resize to vertical
...
The minimal height is set to 5 lines and maximal to 20 lines.
Closes #12921
2024-01-10 19:07:03 +01:00
Cédric Krier
d18d5fb061
Reduce tox verbosity
2024-01-16 18:17:27 +01:00
Cédric Krier
69bdce8b29
Use include directive for subdirectory documentation
...
Closes #12822
2023-12-24 10:48:07 +01:00
Cédric Krier
10a8207581
Include database name in reset password request from tryton
2024-01-27 18:41:40 +01:00
Cédric Krier
cdbeaa70ba
Do not check link to ups.com
...
UPS blocks the automate test so we have to ignore them.
2024-01-01 13:45:14 +01:00
Cédric Krier
40b8cf0eca
Support linkcheck ignore per module documentation
...
If a linkcheck_ignore.json exists in the doc folder, it is loaded to extend
the linkcheck_ignore configuration of Sphinx.
2024-01-01 13:43:49 +01:00
Cédric Krier
ef49ce3774
Update documentation link to Shopify custom app
...
The anchor was removed on the website.
2024-01-01 13:40:00 +01:00
Cédric Krier
413048c312
Add template filters after being cached
...
The MemoryCache copy the stored template since 7bbbb91621ab but Genshi
Template clear the filters when copied.
Closes #12963
2024-01-28 00:34:12 +01:00
Cédric Krier
e5a6aba9bb
Support list of single value in sortable_values tools
2024-01-15 20:31:33 +01:00
Cédric Krier
e409547408
Sort sale lines without shipping_date at the end when computing stock quantity
...
Closes #12938
2024-01-15 20:30:34 +01:00
Cédric Krier
8dc2186c94
Update documentation of web user
2023-11-08 10:55:53 +01:00
Cédric Krier
7fab261d1c
Clear reset password when setting a new password
2023-12-27 17:50:15 +01:00
Cédric Krier
28434749db
Allow resetting forgotten password
...
Closes #10629
2023-11-07 18:08:43 +01:00
Cédric Krier
e6736aaed7
Allow resetting password of user via RPC
...
Closes #10629
2023-11-07 16:52:06 +01:00
Cédric Krier
6702732826
Explain no changes have been made on web user reset password email
2023-11-07 16:53:41 +01:00
Cédric Krier
013a47d35f
Do not remove existing password when reset password
2023-11-07 16:52:31 +01:00
Cédric Krier
e193722acb
Convert reset_password method into dualmethod
2023-10-20 14:49:37 +02:00