Commit Graph
1587 Commits
Author SHA1 Message Date
Cédric Krier 6ac7de5098 Update test scenario to use two Many2Many for handling exceptions
#8142
2024-09-20 00:48:48 +02:00
Cédric Krier 885e40d4be Add button to update Braintree customer
Closes #13469
2024-08-22 18:39:53 +02:00
Cédric Krier ee3deba96b Raise error when updating Braintree customer
#13469
2024-08-22 18:36:19 +02:00
Cédric Krier 3abe5f6fc5 Add button to update Stripe customer
Closes #13468
2024-08-22 18:33:39 +02:00
Cédric Krier 8468d694ac Raise error when updating Stripe customer
#13468
2024-08-22 18:33:16 +02:00
Cédric Krier b222ab29f9 Improve exception handling wizard
We use two Many2Many fields to let the user explicitly fill them with the
records to ignore or recreate.
Any cancelled records that have not been added to one of the fields, will stay
in exception to be proceeded later.

Closes #8142
2024-08-21 17:33:14 +02:00
Cédric Krier 9dc25266b0 Implement a strategy of O(n) to find the best combination of lines to reconcile
The combination implementation is replaced by strategy that search the
smallest remaining from the order lines by removing the last debit or credit
depending on the remaining sign.

Closes #13451
2024-08-19 23:58:41 +02:00
Cédric Krier 9cec77a88c Add payment amount cache to account move line
Closes #13407
2024-07-22 12:12:07 +02:00
Cédric Krier 60c719d830 Use sub-query clause to filter accounts when searching amount to pay
As the number of accounts should be much smaller than the number of lines, it
is more efficient to use a sub-query than joins.

#13407
2024-07-19 18:06:49 +02:00
Cédric Krier 9f02f354db Add index on payment for join in searcher of amount to pay
#13407
2024-07-19 18:04:50 +02:00
Cédric Krier 2af3624e7d Support JSONB when migrating quality operations
Since 33c7f6e19680 JSONB is used by default for MultiSelection.

Closes #13500
2024-09-11 16:05:50 +02:00
Cédric Krier 3e638151f7 Update only the control with the operations value to update when migrating
Closes #13499
2024-09-11 16:03:19 +02:00
Cédric Krier 1c5e39702c Do not recommend inactive product
Closes #13477
2024-08-26 17:04:05 +02:00
Cédric Krier 75bfe10ab8 Do not check www.iso20022.org URLs
The site seems to block bots.

Closes #13487
2024-09-01 10:38:18 +02:00
Cédric Krier 8a59023e1c Use reference instead of link for documentation about paying an invoice
Closes #13486
2024-09-01 10:34:22 +02:00
Cédric Krier b5cbde9a9a Do not check unece.org URLs
UNECE has added a CAPTCHA in front of their website.

Closes #13485
2024-09-01 10:29:45 +02:00
Cédric Krier aac6fbd1b8 Set alias to the balance expression of amount query for budget line
Since 530295147233 AmountMixin.get_amount uses sqlite_apply_types which
requires columns of select query to have an alias to apply the type for
SQLite.

Closes #13491
2024-09-04 01:29:57 +02:00
Cédric Krier 8f96e4af72 Unify email terminology
Closes #13463
2024-08-22 09:52:06 +02:00
Cédric Krier 34d429558b Add cost prefix to all sale shipment cost fields
This improves the naming convention and avoid collisions or
misinterpretations.
2024-08-20 13:13:32 +02:00
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