Commit Graph
125 Commits
Author SHA1 Message Date
Cédric Krier 8666e82b80 Rename 'done' buttons to 'do' and label them as "Complete"
Closes #13039
2024-02-17 17:50:49 +01:00
Cédric Krier d6515743cc Display invoices and moves progress on sale and purchase lines
Closes #13025
2024-02-08 16:58:46 +01:00
Cédric Krier 80b61a9f63 Store model on ir.rule.group 2024-02-25 13:45:21 +01:00
Cédric Krier 5448a91bf7 Store model on ir.model.button 2024-04-06 10:48:45 +02:00
Cédric Krier 122a45b167 Store model and field name on ir.model.field.access 2024-04-06 11:04:15 +02:00
Cédric Krier 9193a425d1 Store model name on ir.model.access 2024-04-06 14:10:01 +02:00
Cédric Krier 2a8626afd5 Permit to remove ignored invoices and stock moves
Closes #13066
2024-03-01 14:44:47 +01:00
Cédric Krier df31d37ae5 Enforce domain on ignored and recreated invoices and stock moves 2024-03-01 14:55:14 +01:00
Cédric Krier 1846050401 Do not set sale nor purchase in exception for invoice with cancel move
Cancelled invoices with a cancel move should be considered as paid.

Closes #13085
2024-03-08 12:36:57 +01:00
Cédric Krier 88ac130d2f Remove readthedocs 2024-02-18 18:35:54 +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 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 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
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 69bdce8b29 Use include directive for subdirectory documentation
Closes #12822
2023-12-24 10:48:07 +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 d3e086aace Order cancelled document without number last
Closes #12899
2024-01-05 15:33:57 +01:00
Cédric Krier 406092be4d Check doctest files
They are converted to python files before running checks.
2024-01-14 19:21:56 +01:00
Cédric Krier b913ad45d8 Add assert methods to test tools
Closes #12879
2023-12-29 19:02:08 +01:00
Cédric Krier f8e095826d Do not translate quantity placeholder in sale and purchase messages
Closes #12919
2024-01-10 14:15:52 +01:00
Cédric Krier 61e1b18e76 Compute remaining quantity of sale and purchase order following their method
Ignored quantities must be deduced from the remaining quantity.

Closes #12698
2023-12-17 17:07:41 +01:00
Cédric Krier 8d9156df84 Add ondelete RESTRICT on Many2One of party ValueMixin
Closes #12809
2023-12-07 23:24:37 +01:00
Cédric Krier 0d625d4010 Remove usage of set_user to skip check access
Since ce8d7a19766a the access rule are enforced only if check access is set.
2023-12-01 21:14:37 +01:00
Cédric Krier 7e9d69f07f Set state to done when all lines of sale or purchase are cancelled
So when the shipment and invoice state are None and all lines have an 100%
progress, then the order should be considered as done.

Closes #12698
2023-11-01 16:37:23 +01:00
Cédric Krier da3c68d0c0 Add invoice progress on sale and purchase line 2023-11-01 16:34:42 +01:00
Cédric Krier 92a3ddb9ee Set shipment state of sale and purchase to None when all stock moves are cancelled
Closes #12697
2023-11-01 16:32:41 +01:00
Cédric Krier 38da6a0451 Increase version number 2023-10-30 18:51:13 +01:00
Cédric Krier 65f477f731 Prepare release 7.0.0 2023-10-30 18:17:32 +01:00
Cédric Krier 76c00d3133 Update amount when changing unit or taxes of purchase line
Closes #12648
2023-10-29 14:23:34 +01:00
Cédric Krier c577fad900 Update translations [skip ci] 2023-10-28 14:15:23 +02:00
Maxime Richez b6db068130 Prevent changing party, template and product on product supplier
Closes #12607
2023-10-26 22:53:18 +02:00
Cédric Krier 88edde8e69 Depend on product supplier unit to compute unit on price
The initial implementation 6a6b4ef53946 wrongly define the depends for the
function.

Closes #12653
2023-10-22 12:37:04 +02:00
Cédric Krier cf0b20da58 Do not change line type when calling on_change_product
The wizard to modify header calls on_change_product on all lines but their
type must not change.

Closes #12633
2023-10-22 10:36:20 +02:00
Cédric Krier 420e0a48d6 Add pairwise_longest tools 2023-10-18 23:11:07 +02:00
Cédric Krier 7e2c1f8cbd Do not raise StopIteration when calling pairwise with empty iterable
Closes #12652
2023-10-18 18:28:04 +02:00
Cédric Krier 4e010a988f Add support for Python 3.12 2023-10-22 19:40:55 +02:00
Cédric Krier e2e05b146c Use purchase line unit when invoice line has no unit
Closes #12462
2023-10-09 18:31:37 +02:00
Cédric Krier 83d817309c Add scenario to test default taxes for purchase without product 2023-10-04 17:19:01 +02:00
Cédric Krier bf71a702c9 Compute taxes when purchase is changed on line
Closes #12612
2023-10-04 17:18:47 +02:00
Cédric Krier 66e460b97d Do not consider purchase as done when invoice or shipment state are none
If there are still line to invoice or to receive, the purchase should not be
done.

Closes #12594
2023-09-27 12:30:12 +02:00
Cédric Krier 96a24bcaf6 Remove extra button group access
Since ab05d05bb811 there is no need to have access defined on button if they
are the same as the write access on the model.

Closes #12578
2023-09-20 09:45:20 +02:00
Cédric Krier bdb43b84b2 Remove trailing comma on time_series definition on purchase reporting per product
Closes #12605
2023-10-02 09:44:26 +02:00
Cédric Krier 10525611df Add warning when receiving too much goods from purchase
Closes #12521
2023-08-24 18:18:15 +02:00
Cédric Krier 4268b22ad2 Require unit price only for confirmed purchase
This allows to send quotation to supplier without prices and fill them when
the quotation is received.

Closes #12498
2023-08-17 19:19:51 +02:00
Cédric Krier c5a3340851 Update taxes when create invoices 2023-07-25 15:34:01 +02:00
Cédric Krier a20b805f16 Store original planned date of stock move and compute delay 2023-09-10 21:28:51 +02:00