Commit Graph
58970 Commits
Author SHA1 Message Date
Nicolas Évrard 05abf8ef2b Do not set the Group's context when setting a default group on xxx2Many
The context of the field is dynamic so evaluating it only once when creating
the group make it static.
Also the group is already evaluating the parent field context on the fly when
its context is retrieved.

Closes #13726
2024-12-16 10:29:26 +01:00
Cédric Krier f0b231d474 Do not check credit limit if the amount is negative or zero
Closes #13720
2024-11-30 23:50:59 +01:00
Cédric Krier 66253fbf37 Use warning format for credit limit warning name
Closes #13719
2024-11-30 23:46:57 +01:00
Cédric Krier 3d12183ebd Return credit limit amount for sale in company currency
Closes #13718
2024-11-30 23:43:00 +01:00
Cédric Krier df1021103f Add company argument to check credit limit
Closes #13717
2024-11-30 23:38:16 +01:00
Cédric Krier cd6c759e05 Display link symbol on hover of many2one and reference column
Closes #9091
2024-10-24 01:20:39 +02:00
Cédric Krier b8e124efaa Better naming between session and wizard instance when testing wizard 2024-11-21 18:09:22 +01:00
Cédric Krier 838cee8307 Do not re-instantiate action report when printing workflow graph 2024-11-21 18:08:54 +01:00
Cédric Krier 3481debb43 Convert value to integer when setting reference value as string 2024-11-21 18:07:57 +01:00
Cédric Krier 11d2468887 Set unit id in context to compute price of consignment 2024-10-22 00:12:22 +02:00
Cédric Krier 839d952e80 Set company id as context to compute today when creating purchase from request 2024-10-21 22:21:31 +02:00
Cédric Krier f5a9f36823 Test _ids type when instantiate ModelStorage 2024-11-21 18:06:48 +01:00
Cédric Krier c833195650 Set default integer digits to None 2024-11-25 23:47:12 +01:00
Cédric Krier 6cff740d3c Validate integer digits
Closes #12975
2024-10-20 18:22:26 +02:00
Cédric Krier d85f0b4456 Add support for DATE_TRUNC from INTERVAL to SQLite backend 2024-12-15 20:55:42 +01:00
Cédric Krier 90ffa4ad8a Fix DATE_TRUNC with date and time
Since 96bc08db1fd5, fromisoformat is used so the value may be a date or a time.
So not all the attributes are available for those types.
And SQL requires to always return a datetime.
2024-12-15 20:54:23 +01:00
José Antonio Díaz Miralles 94048faeb4 Prevent iOS from auto zooming on input focus
Closes #13602
2024-12-15 16:42:35 +01:00
Nicolas Évrard 294f2d1474 Allow searching on subdivision shorter code
When searching with a pattern, the shorter code is also tested.

Closes #13564
2024-12-15 12:53:34 +01:00
Cédric Krier c51e0157aa Use fromisoformat to parse value in SQLite functions 2024-12-14 16:20:10 +01:00
Cédric Krier 40c5010b77 Import datetime as dt in SQLite database 2024-12-14 16:16:07 +01:00
Cédric Krier 81cd587477 Add support for EXTRACT from INTERVAL to SQLite backend
Closes #13305
2024-12-14 16:22:59 +01:00
Cédric Krier c31522734f Test PostgreSQL backend with all Python versions
The backend contains Python code that should be tested for all versions.
2024-12-14 17:17:28 +01:00
Sergi Almacellas Abellana 26abd6635d Improve labels input and output materials of production and BOM 2024-12-14 12:08:49 +01:00
Cédric Krier d86eeeb5c5 Retrieve tax rounding configuration using the company of the taxable
Closes #13688
2024-11-15 18:06:45 +01:00
Cédric Krier e8f0704d0b Do not check for integrity error the required fields with set method
Closes #13745
2024-12-11 11:02:07 +01:00
Cédric Krier e9104be1ee Round together only taxable lines with the same taxes and sign
The rounding error must not be distributed between taxable lines having
different taxes otherwise the tax amount is not stable for the same base
amount.

Closes #13673
2024-11-12 17:39:42 +01:00
Cédric Krier 44b55e28f4 Use party access for address, contact mechanism and identifier 2024-11-08 16:26:01 +01:00
Maxime Richez 822ef93cd7 Add Brazilian, Canadian and Croatian tax identifiers
Closes #13678
2024-12-12 23:45:51 +01:00
Cédric Krier fe852af844 Merge move description with description on general ledger line
By using the move origin as fallback of the line origine, the description is
computed as the move description.

Closes #13696
2024-11-20 15:14:49 +01:00
Cédric Krier 1c9682e7ae Set default icon for board and list-form action window 2024-11-10 02:11:09 +01:00
Cédric Krier e77e0c2349 Add icon for list-form 2024-11-10 02:10:28 +01:00
Cédric Krier 48e6a7374d Use more explicit icons for form, list and tree
Closes #11391
2024-11-10 02:10:04 +01:00
Maxime Richez b502f39d6e Replace co_rut for co_nit as tax identifier
Closes #13679
2024-11-13 15:50:38 +01:00
Cédric Krier 25322bc0d1 Set label on form view as help text of record rules 2024-11-27 19:58:38 +01:00
Cédric Krier 3e45df410f Show only storage, view and warehouse locations by default
Closes #13711
2024-11-28 22:14:05 +01:00
Cédric Krier d1f97ed83b Replace playsound by playsound3 package
Closes #13629
2024-11-30 15:28:24 +01:00
Cédric Krier fd903381db Improve naming of the tested view
It is more useful to have the filename of the view if possible or the model
name and type.
2024-11-29 13:43:47 +01:00
Cédric Krier b6fd7fdf8a Do not instantiate record with default for the form of the wizard view
The default values are already set using the defaults of the wizard view.

Closes #13723
2024-12-01 23:48:17 +01:00
Cédric Krier e2ee8f5b13 Remove unused EMAIL_REFKEYS from action
Since 8288b688cfeb this global variable is no more used.
2024-12-05 16:27:17 +01:00
Cédric Krier 7a03020543 Assign customer moves when drop shipment is shipped
Closes #13648
2024-11-04 16:43:16 +01:00
Pedro Nuñez 7b67ad7891 Exclude report revisions from invoice copy
Closes #13698
2024-12-08 00:10:32 +01:00
Cédric Krier a93ccdc5c4 Always hide select button on binary cell when the field is readonly
Closes #13714
2024-11-29 13:06:08 +01:00
Cédric Krier 500f909a06 Properly disable the select button of Binary widget when readonly
The button is indeed a div which must have the .disabled CSS class and an input
which should be hidden when readonly.

Closes #13713
2024-11-29 13:03:53 +01:00
Sergi Almacellas Abellana 659f25e14f Cast excluded from sii as boolean before grouping
The value may be None which should be grouped with false values

Closes #13734
2024-12-05 15:54:50 +01:00
Cédric Krier 77dd7b3771 Test only last Python version with PostgreSQL 2024-11-24 13:55:42 +01:00
Cédric Krier 3f3320a70d Do not run pipeline on draft merge request 2024-11-22 13:50:10 +01:00
Cédric Krier 57ca116d24 Do not clear string field translations of model
Since de19952c097a the 'name' field has been renamed into 'string' also for the
translations.
2024-12-01 10:32:48 +01:00
Cédric Krier cd0bcf8ff5 Document gettext and ngettext methods added to the report context
They were added by 9403850c8ead but without documentation.
2024-12-01 19:06:26 +01:00
Cédric Krier f69fa14b74 Use msg_gettext to translate SEPA mandate title
Closes #13722
2024-12-01 19:05:34 +01:00
Cédric Krier 26930ddda9 Add msg_gettext and msg_ngettext to Report context 2024-12-01 19:04:56 +01:00