Commit Graph
58943 Commits
Author SHA1 Message Date
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
Cédric Krier a6ba7caead Enforce empty value for input and output production on stock move with id
The domain for Many2One is based on the target not the field value.

Closes #13721
2024-12-01 18:38:35 +01:00
Cédric Krier 1a835acf6d Do not convert invoiced quantity if sale has not unit when computing credit amount
Closes #13715
2024-11-29 14:12:01 +01:00
Cédric Krier 89f5385b70 Ensure current record is None after removing record from the group
The removal can trigger __select_changed on the list view which may set the
first record of the selection as the current record which may be the deleted
record.
This prevents the display triggered by record_modified to set the current
record in the selection as it has been removed from the group.

Closes #13712
2024-11-29 12:59:50 +01:00
Cédric Krier 1a842ade94 Return a dictionary when calling default_get and set a default empty value
18acfa54fa2e relies on having always a dictionary.

Closes #13690
2024-11-28 15:00:55 +01:00
Cédric Krier e1121fd3e9 Do not quit the SMTP sever on 421 error code
smtplib is already closing the connection when such error code is received.

Closes #13710
2024-11-28 14:47:11 +01:00
Cédric Krier 27e589ccd7 Do not set empty To, Cc nor Bcc in email message
Since gh-102988, email.utils.getaddresses() return [('', '')] for invalid email
addresses which includes empty string if the header is set with an empty list.

Closes #13649
2024-11-18 08:44:57 +01:00
Nicolas Évrard ffeeb1cdfe Parse child of group tags at the end
This allows to preserve the order of the state widgets in the form which is
important when evaluating the emptiness of a group

Closes #13622
2024-11-30 10:24:52 +01:00
Cédric Krier e0eb7390ed Add missing migration for column rename of ir.model and ir.model.field 2024-11-24 01:17:41 +01:00
Cédric Krier f93146919f Drop constraints using cascade
This is needed when dropping a constraint used to enforce a foreign key for
example.
2024-11-20 11:17:15 +01:00
Cédric Krier 7948557d03 Clear view type of price list line context
68816ce94559 moves the definition of the context view to product_price_list
module and convert the existing view to inherit it. But inheriting view must
not have a type.
2024-11-24 14:15:25 +01:00
Cédric Krier c8ab038585 Add missing migration of open lines button of product price list
68816ce94559 moves the button definition from product_price_list_dates module
to product_price_list but as product_price_list is updated first it can not
create the button because of the unique constraint.
2024-11-24 01:07:39 +01:00
Cédric Krier 2b8642b6ee Add manual migration to documentation 2024-11-24 00:35:36 +01:00
Cédric Krier 71e19b01d8 Create new context record with default value
Screen.new_ is returning already a promise that is resolved after the call to
default_get. This ensure that display is triggered after having set the default
value.

Closes #13697
2024-11-20 15:52:40 +01:00
Cédric Krier e5d7fae134 Remove new lines characters when comparing record name of Many2One and Reference
This avoid to trigger a reset of the field if the record name has such character.

Closes #13687
2024-11-15 15:20:28 +01:00
Cédric Krier 4b5fa06b60 Do not deactivate product in replacement wizard
If the product can be deactivated, it must be deactivated using the proper
method so all the operations like deleting staging and draft moves are
performed. Otherwise the stock moves for the deactivated product will stay.

Closes #13677
2024-11-13 13:19:25 +01:00
Cédric Krier 52de5320f6 Test if pre_validate is an empty object
Closes #13675
2024-11-13 11:22:21 +01:00
Cédric Krier f358b1fc1c Set default state when production moves from BOM
The visibility of some fields depend on the state so it is better to set it.
2024-11-13 11:14:35 +01:00
Cédric Krier 70e1b5bfad Fill unit price required when creating production moves from BOM
Since 23a3a9ed13d7 the unit price is reset to None if the unit price is not
required.
So the client must known that the unit price is required to keep the value.

Closes #13674
2024-11-13 11:10:05 +01:00
Cédric Krier 5965e02da3 Fix incompatible placeholders in tryton's translations 2024-11-07 21:44:36 +01:00
Cédric Krier 539513d74f Set a width to the nav-tabs to not be included in the min-content computation
When screen with tab domain is displayed in a board, the tab domain increase
the min-content which could overflow the tab content.

Closes #13665
2024-11-06 18:11:35 +01:00
Cédric Krier 1f42ffb932 Set grid template to container of board view
Closes #13663
2024-11-06 18:01:51 +01:00
Cédric Krier 7c6e54b364 Use ngettext for import/export message 2024-10-16 19:11:10 +02:00
Cédric Krier be2f522c05 Use plural for password length error message 2024-10-16 18:39:52 +02:00
Cédric Krier ffcf5a5225 Support plural translation of messages 2024-10-16 19:57:43 +02:00
Cédric Krier 851d0b580a Clear translation cache of message when translations of type model are changed 2024-10-16 17:27:16 +02:00
Cédric Krier 81d891bebf Support plural translations in report
In addition to add support for ngettext to Genshi i18n Translator, gettext and
ngettext methods are added to the report context.
2024-10-16 11:38:07 +02:00
Cédric Krier c9e059680e Add plural source to translations 2024-10-16 18:40:14 +02:00