Commit Graph
58689 Commits
Author SHA1 Message Date
Cédric Krier a3ada4ef98 Replace minimal by universal chart of account
Closes #9642
2024-10-13 23:55:37 +02:00
Cédric Krier 6063682e35 Replace unique check of promotion coupon number by overlap SQL constraint
This adds also a company field to coupon and number.
2024-10-11 15:29:51 +02:00
Cédric Krier 5853d86d25 Replace dates checks of stock forecast by overlap SQL constraint 2024-10-11 16:01:55 +02:00
Cédric Krier fce7629ecb Simplify PYSON expressions in forecast 2024-10-11 12:30:32 +02:00
Cédric Krier 56d77717c8 Replace dates checks of subscription line with asset lot by overlap SQL constraint 2024-10-11 11:51:29 +02:00
Cédric Krier 1e7dd3c351 Use SQL constraint to enforce unique usage of post move sequence 2024-10-10 00:34:19 +02:00
Cédric Krier 6f4fbb008a Replace dates checks of fiscal year and period by overlap SQL constraint 2024-10-09 17:29:27 +02:00
Cédric Krier f64e38f799 Surround exclude expression with parenthesis
Closes #13576
2024-10-09 17:19:44 +02:00
Cédric Krier ca61f7cc7b Support range functions and operators in EXCLUDE constraint
Closes #7471
2024-10-10 00:34:53 +02:00
Cédric Krier 1e85b264ca Use the intrastat country of production warehouse for production location
Closes #13524
2024-09-18 10:59:32 +02:00
Cédric Krier e8b8d6758a Use the intrastat country of the other location for lost and found location
The lost or found happens in the country of the other location.

Closes #13523
2024-09-18 10:54:22 +02:00
Nicolas Évrard 35fb76f754 Add tests on ir.model and ir.model.field write calls on translated fields 2024-09-25 00:12:46 +02:00
Nicolas Évrard be0e2e691a Update only the actual ir.model and ir.model.field translations
Closes #13546
2024-10-01 16:45:46 +02:00
Cédric Krier 032813a0b8 Support None as default value for xxx2Many fields
Closes #13588
2024-10-10 09:38:40 +02:00
Maxime Richez dcef019d80 Allow cancellation of done shipments and productions
Closes #13489
2024-10-13 15:50:49 +02:00
Sergi Almacellas Abellana 75fa7e22ca Add company on packages tree view 2024-08-21 10:23:23 +02:00
Sergi Almacellas Abellana b9478515c0 Only consider done forecast when checking if they overlap
Closes #13553
2024-10-01 13:49:34 +02:00
Cédric Krier 29de47586c Test if all columns of SQL constraint are Column before testing their names
Closes #13587
2024-10-10 00:48:39 +02:00
Cédric Krier abb51c5cb3 Test all the SQL constraints name first before testing common column names
Closes #13586
2024-10-10 00:44:50 +02:00
Cédric Krier aafa890c5c Add depends on periods when changing company of tax code context
Since fa8f759f834b there is an assert to ensure that changing values of
xxx2Many can be done only if the field had a initial value.

Closes #13535
2024-09-30 17:22:37 +02:00
Cédric Krier e16889a592 Use sparkline tools instead of pygal 2024-09-29 11:46:53 +02:00
Cédric Krier 530b55ac42 Add sparkline chart tools
Closes #13548
2024-09-29 12:36:21 +02:00
Cédric Krier ae6df62434 Collapse main navbar when link is clicked
The main navbar is collapsed automatically on small screens when a tab is
selected.
2024-10-10 14:04:47 +02:00
José Antonio Díaz Miralles 9b3d3f85d6 Simplify menu handling by using flex instead of offcanvas and make it resizable
Closes #13444
2024-10-10 12:52:07 +02:00
Cédric Krier 91d7ec1289 Remove padding on menu 2024-10-11 22:55:04 +02:00
Cédric Krier 5c590194c5 Remove margin on image of treeview expander 2024-10-11 23:03:51 +02:00
José Antonio Díaz Miralles 74966d8b05 Reduce padding for affix in tree view 2024-08-09 00:16:55 +02:00
Sergi Almacellas Abellana 76fd78716d Prevent deletion of non-pending quality inspections
Closes #13456
2024-10-11 21:22:14 +02:00
Cédric Krier 0b5d5c2322 Manage to replace products 2024-09-03 12:39:57 +02:00
Sergi Almacellas Abellana 9a14948fb4 Use Function field to test if invoice has an account move
This prevents to hide the post button if the user has no read access to the
account moves.

Closes #13493
2024-10-11 15:33:51 +02:00
Cédric Krier 68d7267502 Do not create twice a chart of account in Stripe dispute scenario
7a523d9c3ffa activate the module with the creation of chart of account.
2024-10-11 09:23:27 +02:00
Cédric Krier 32227136e7 Add validity dates to coupon number to allow reuse of coupon number
Closes #13010
2024-09-27 10:35:53 +02:00
Cédric Krier 670f3f894d Lock the table before checking uniqueness of coupon number
Closes #13011
2024-02-06 23:53:28 +01:00
Cédric Krier d3cca51abc Create company and chart of account when activate modules in test scenario 2024-09-11 19:05:12 +02:00
Cédric Krier d83bcc784c Add setup methods to activate_modules 2024-09-10 18:01:29 +02:00
Cédric Krier 529fa7bb0e Add optional company to account statement list view 2024-09-16 18:33:11 +02:00
Cédric Krier 60f07545e5 Do not fail to get Stripe refund failure reason if it is not present
Closes #13590
2024-10-10 14:18:32 +02:00
Cédric Krier 0b5dd24b80 Update usage of synchronous Record.validate and _check_load
Closes #13497
2024-10-03 14:44:09 +02:00
Cédric Krier 57b5c736b2 Clear Braintree error message on succeeded status 2024-10-01 12:31:01 +02:00
Cédric Krier f21f1f92f6 Clear Stripe error codes when updated 2024-10-01 12:30:37 +02:00
Cédric Krier 9bdc52e67b Do not display payment errors when payment or refund is succeeded 2024-10-01 12:28:44 +02:00
Cédric Krier 2616442a36 Add configuration for maximum size of document incoming request
Closes #13515
2024-09-16 19:32:38 +02:00
Cédric Krier 859b66c669 Add configuration for maximum size of inbound email request
Closes #13514
2024-09-16 19:31:04 +02:00
Cédric Krier 42fb22e164 Add border to notebook and navbar background to nav-tabs
This allows to better distinct the notebook and its content.
2024-10-01 12:41:50 +02:00
Cédric Krier c4e49fbc58 Use column and row gap instead of padding to separate cells of grid
Using gap of grid allows to not loose the space when widgets are nested.
And keep top/bottom padding on small screen.
2024-10-02 10:29:44 +02:00
Cédric Krier 3948905844 Remove widget class on form-item
The widget class is set on the content of the form-item.
Having it twice apply margin or padding twice.
2024-09-27 20:49:50 +02:00
Cédric Krier bf9709d360 Render xalign-end as start on small screen
As the rule was not in .form, it was not enough specific to apply.
Also on small screen we can keep centered the xalign-center
2024-09-27 20:47:52 +02:00
Cédric Krier f40829a231 Set default y-attributes for notebook 2024-09-27 20:44:56 +02:00
Sergi Almacellas Abellana da99315a14 Remove duplicated timestamps from history_revisions
Closes #13528
2024-09-19 09:49:33 +02:00
Cédric Krier a091c2b8fc Order errors by descending id
Usually it is the latest errors that are interesting for the user.
2024-09-25 09:56:50 +02:00