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
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
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
Adrià Tarroja Caubet
ba02686320
Remove redundant product kit scenario testing duplicate
...
Closes #12880
2024-09-01 12:24:29 +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
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
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
Cédric Krier
40732da51d
Do not set unit price for production input move in test scenario
...
Since 23a3a9ed13d7 the unit price must be empty when not required.
Closes #13453
2024-08-21 19:25:16 +02:00
Adrià Tarroja Caubet
2fce001bcd
Fallback to 0 when time series value is None
...
Closes #13373
2024-08-21 09:05:33 +02:00
Adrià Tarroja Caubet
78f0aae2e2
Use empty string for empty descriptions to construct grouping key
...
Closes #12952
2024-08-18 14:25:54 +02:00
Cédric Krier
d0c5188641
Enforce empty price on stock move when not required
...
Closes #13382
2024-07-19 13:14:58 +02:00
Cédric Krier
be68d7ad69
Use a separate browse list to compute amounts from non cached states
...
The browse record list loops over the ids of the list to complete the read
batch. So move the record without cache at the end does not prevent to read
the lines of the first records with cache. A separate browse list must be used
for the records without cache to prevent to read lines from record with cache.
Closes #13396
2024-07-27 10:16:51 +02:00
Cédric Krier
48ad8ebb02
Add filtered One2Many fields on sale, purchase and invoice
...
This allows to create only instances for the lines of type line when only
those lines are needed.
This mainly avoid to compute amount for subtotal lines when accessing the
amount of instance of type line.
2024-06-22 16:50:48 +02:00
Cédric Krier
07f5e3faaa
Allow only sale and purchase lines of type line as origin of stock move
2024-06-22 16:51:52 +02:00
Cédric Krier
3d9852c008
Set product range index last for stock move
...
As product clause are reduced ids, they have less chance to be usable than the
date which is often a single value.
2024-06-19 13:23:57 +02:00
Cédric Krier
3ca4615b32
Add location and use product range in stock period cache index
...
The cache is always filtered by location and the product is often filtered
with reduced ids.
2024-06-19 12:44:33 +02:00
Cédric Krier
9a4051ab8c
Add company to the stock move indexes
...
Almost all the queries on stock move filter by company.
2024-06-18 20:33:41 +02:00
Cédric Krier
6d219e96f3
Do not add period query to the union if there is no period
...
There is no cache record without period so there is no need to add the query
to the UNION.
2024-06-18 20:32:09 +02:00
Cédric Krier
e00fd063c5
Reuse simple COALESCE expression to filter moves after stock period
...
The expression must be the same as the one in the indexes such that the
indexes can be used to directly filter out all the moves before the period.
This restores the original expression that was changed by e4431b79e409 for the
generic move_date. But by design there can not be any assigned move planned
before the closed period.
2024-06-18 20:29:31 +02:00
Cédric Krier
642c3cd8db
Add United Kingdom Unique Taxpayer Reference identifier
...
Closes #11870
2024-07-18 17:01:15 +02:00
Cédric Krier
fc8130e7c4
Raise a warning when submitting complaint for the same origin
...
Closes #13360
2024-06-25 16:57:02 +02:00
Cédric Krier
b41ee38f1a
Allow copying move from closed period
...
Closes #13361
2024-06-26 09:39:26 +02:00