Maxime Richez
8b1b2ceefe
Do not copy shipment costs when copying sale
...
Closes #13384
2024-09-08 16:59:17 +02:00
Maxime Richez
e151499adc
Do not copy cost shipments when copying invoice lines
...
Closes #13372
2024-09-08 16:56:17 +02:00
Cédric Krier
f0b313bfb5
Forbid editing cron when it is running
...
Closes #13447
2024-08-09 16:21:18 +02:00
Cédric Krier
b14bcea3c1
Store last cron durations
...
Closes #13445
2024-08-09 10:40:18 +02:00
Cédric Krier
4fe02eee89
Do not add extra line for product that is not active nor salable
...
Closes #13479
2024-08-26 17:02:00 +02:00
Cédric Krier
de52bfeeb1
Do not fetch all order points when generating production requests
...
Instead we load only the order point of the products for which we calculate
the production requests.
2024-08-26 19:24:26 +02:00
Cédric Krier
66112f503b
Do not fetch all order points when generating purchase request
...
Instead we load only the order point of the products for which we calculate
the purchase requests.
2024-08-26 16:39:06 +02:00
Cédric Krier
ff46d1f321
Do not copy order points when copying products
...
Closes #12287
2024-08-26 16:36:18 +02:00
Cédric Krier
767e1cf8d2
Simplify domains and states of commission to use Function fields instead of _parent
2024-08-23 01:17:21 +02:00
Cédric Krier
44e98af02b
Use principal with the same company as the product context
...
Closes #13470
2024-08-23 01:16:26 +02:00
Cédric Krier
7d14ec5830
Remove saved record from the group if the parent record is not saved
...
This prevents to keep displaying removed records from a Many2Many on a wizard
and optionally on an unsaved record.
Closes #13461
2024-09-08 00:48:45 +02:00
Cédric Krier
f350adcee3
Remove "Parties associated to Purchases" menu entry
...
Closes #6935
2024-08-06 16:51:57 +02:00
Cédric Krier
78d659b48d
Remove "Parties associated to Sales" menu entry
...
Closes #6935
2024-08-06 16:51:41 +02:00
Cédric Krier
12e3c5de7c
Use incoterm from invoice line origin if there are no incoterm on stock moves
...
Closes #13353
2024-09-07 18:31:04 +02:00
Sergi Almacellas Abellana
067ba46713
Round TipoImpositivo key to two decimal places
...
Closes #13014
2024-06-07 11:44:38 +02:00
Sergi Almacellas Abellana
074c173753
Set routing on production request supplied on sale
...
Closes #13295
2024-09-07 11:27:39 +02:00
Cédric Krier
1fcd308aa6
Use MatchMixin to get product bom
2024-09-07 11:20:52 +02:00
Cédric Krier
a4eb342cd7
Retry to get a connection when an OperationalError is raised
...
If there are no connection available in the pool, psycopg2 tries to create a
new connection but it may raise an OperationalError if the server close it.
Closes #13475
2024-08-26 09:33:58 +02:00
Cédric Krier
958090cc27
Search on location of inventory when searching the inventory location of lines
...
Closes #13464
2024-08-22 11:31:10 +02:00
Cédric Krier
3239549b99
Do not include cancelled moves in measurements
...
Closes #13439
2024-08-05 19:07:01 +02:00
Cédric Krier
ea4782565a
Store internal measurements for final states of shipments
...
This prevents the searcher to compute the sum for all the shipments with a
join to all the stock moves.
Closes #13438
2024-08-06 08:24:46 +02:00
Cédric Krier
05b5a79564
Support list as search operand on shipment measurements
...
Closes #13437
2024-08-05 18:53:34 +02:00
Nicolas Évrard
428825ac6a
Use JSONB to store MultiSelection field by default
...
Closes #11513
2024-09-02 11:25:49 +02:00
Nicolas Évrard
1fbcf70283
Apply the function field searcher transformation before doing any optimization
...
This allows to use the OR-to-UNION optimization if the searcher returns only
local columns.
2024-06-27 19:15:07 +02:00
Nicolas Évrard
02f054bd26
Check the return type of Function fields searchers
2024-06-28 15:38:46 +02:00
Nicolas Évrard
6512d36bd1
Rely on the tables dict to choose when to apply the OR-to-UNION optimization
...
The dict changes in size if non-local columns are used to order the search
results.
Closes #13346
2024-06-13 18:57:14 +02:00
Nicolas Évrard
a11522ffd6
Externalize the method to apply sorting on order tuples
2024-06-27 18:09:07 +02:00
Adrià Tarroja Caubet
ba02686320
Remove redundant product kit scenario testing duplicate
...
Closes #12880
2024-09-01 12:24:29 +02:00
Nicolas Évrard
fab9093188
Fill default values of record in exception in a single loop
2024-08-31 14:01:36 +02:00
Nicolas Évrard
5e3daac1b8
Do not override id as default values of failed read
...
Closes #13331
2024-08-31 12:19:20 +02:00
Nicolas Évrard
e2e520b280
Raise non processed exceptions when they occur during load of records
...
It is needed to not bypass catch_error decorator.
Closes #13332
2024-08-31 11:34:20 +02:00
Adrià Tarroja Caubet
c1f60725c5
Do not copy project works nor progresses when copying invoice line
...
Closes #13369
2024-08-30 23:57:05 +02:00
Sergi Almacellas Abellana
706bd182c7
Fix typo on web user invalid email error message
...
Closes #13405
2024-07-19 13:48:36 +02:00
Nicolas Évrard
53bb613564
Implement __deepcopy__ on ImmutableDict
...
Closes #13408
2024-07-19 19:04:01 +02:00
Cédric Krier
63c6eacc89
Retry JSON-RPC requests on Service Unavailable
...
Closes #13139
2024-08-07 16:07:18 +02:00
Cédric Krier
c3e4788a2b
Add timeout option to show processing label
2024-08-07 16:05:43 +02:00
Cédric Krier
f3c5f401a3
Search on customer id when searching by record name of Braintree customer
2024-08-22 18:41:43 +02:00
Cédric Krier
deb0eb5d78
Search on customer id when searching by record name of Stripe customer
2024-08-22 18:41:31 +02:00
Cédric Krier
c8464cd945
Add SQL constraint to ensure only one tax line without period
...
TaxLine.update_cash_basis relies on having only one line without period per
grouping key so it is safer to make it a SQL constraint.
2024-08-01 23:43:43 +02:00
Cédric Krier
ef5d8d53ac
Update tax cash only for invoices with payment lines modified
...
Closes #13433
2024-08-01 23:26:49 +02:00
Cédric Krier
2197eb153c
Set only the missing tax amount on the current period
...
The ratio is computed for all the existing periods with payments, so when
updating for a new period only the part that is not yet on a period should be
modified.
Closes #13433
2024-08-01 23:24:54 +02:00
Cédric Krier
112bfd25c4
Move tax rule pattern from stock move to invoice line
...
Since fea57ac2ca9d the taxes for consignment invoice lines are computed by the
invoice line and no more by the stock move.
Closes #13432
2024-08-01 16:04:41 +02:00
Cédric Krier
a2dfc4455b
Refine index definition
...
- Set low and high cardinality to index usage
- Use Range usage for numerical expression instead of Equality
2024-07-27 18:36:14 +02:00
Cédric Krier
234daa0f99
Add cardinality option to Index Usage
...
Closes #13426
2024-07-27 17:49:13 +02:00
Cédric Krier
084cd424ce
Use more accurate threshold between update or rebuild of MPTT
...
Closes #13422
2024-07-27 11:55:20 +02:00
Maxime Richez
4244ad305d
Use today as planned date for assigned move in stock moves by warehouse
...
Closes #13417
2024-07-23 16:19:09 +02:00
Cédric Krier
4b32fabdc7
Remove optional from company agent
...
The type string is supposed to be followed by the company name.
2024-08-06 17:38:10 +02:00
Cédric Krier
01574e6700
Add searcher to summary fields
...
Closes #13401
2024-07-18 10:12:04 +02:00
Cédric Krier
337dc832e0
Add package weight as shipping method criteria
...
Closes #13390
2024-07-04 18:25:59 +02:00
Cédric Krier
0f0fe9053c
Add warehouse as shipping method criteria for Sendcloud
...
The available methods may depend on the sender address which comes from the
warehouse.
Closes #13389
2024-07-04 17:10:42 +02:00