Cédric Krier
5f934d2f30
Fallback to normalized email if there is no ascii available
...
Closes #13241
2024-05-07 16:56:51 +02:00
Cédric Krier
b3fd5364dc
Document that _rec_name must point to a Char field
2024-05-22 15:33:55 +02:00
Cédric Krier
525dd32ffb
Test every kind of getter of Function field
2024-05-20 23:17:20 +02:00
Cédric Krier
530f6cbf7f
Return proper dictionary structure for instance getter with names
...
Closes #13136
2024-05-20 23:16:39 +02:00
Cédric Krier
307e9f73f5
Do not rely on assigned quantity to supply on stock first
...
Closes #13279
2024-05-24 15:20:43 +02:00
Cédric Krier
25d0cb7787
Do not commit readonly transaction even with channel
...
Even if the backend allows NOTIFY query on readonly transaction, it is strange
to commit readonly transaction because the backend may not enforce the
readonly.
Also commit performs other actions that may not be wanted like commit
datamanager or clear cache.
A procedure that requires to perform a NOTIFY should have a non-readonly
transaction.
Closes #12542
2024-05-23 14:22:42 +02:00
Cédric Krier
f0f2294d2c
Use a readonly transaction to load module without update
...
Closes #12542
2024-05-23 14:18:51 +02:00
Cédric Krier
bf70e12f8f
Remove print statement when catching check vies exceptions
2024-05-23 14:23:52 +02:00
Cédric Krier
b708f5ff48
Put textarea and richtext under an input-group
...
If the widget is translatable, the translate button is an input-group-btn
which must be under the same input-group as the principal input.
Closes #13238
2024-05-14 19:44:39 +02:00
Cédric Krier
bcf87266c3
Allow web_shop as key for product image
...
Closes #13258
2024-05-14 15:25:22 +02:00
Cédric Krier
441abbfbf8
Delete purchase request when the product is deleted
...
Closes #12917
2024-05-11 11:58:40 +02:00
Cédric Krier
b8c759594e
Clear translations with invalid placeholders
2024-05-01 11:18:06 +02:00
Cédric Krier
91e95c52b5
Always return a promise from _update_completion
...
Closes #13280
2024-05-25 20:40:56 +02:00
Cédric Krier
9e759e9604
Sort posted lines to reconcile at last by party
...
The lines may or may not have a party depending on the account.
So the order key must avoid compare party instance with None value.
Closes #13268
2024-05-21 10:12:46 +02:00
Nicolas Évrard
0cd6aaf298
Sort X2M fields according to the order
...
Since 40615f3e3e8e .browse calls have been replaced by a .read one but .read
does not respect the order of the ids.
Closes #13288
2024-05-30 19:30:14 +02:00
Cédric Krier
660eafe90c
Add test scenario for production split
2024-05-20 20:35:26 +02:00
Cédric Krier
e1a63d4c39
Rename uom to unit in production split wizard
...
Closes #13263
2024-05-20 20:35:07 +02:00
Cédric Krier
3359b76579
Search tax identifier from the invoice party identifiers
...
Closes #13265
2024-05-20 14:26:21 +02:00
Adrià Tarroja Caubet
d590139f93
Update TinyMCE to version 7
...
Closes #8683
2024-05-07 00:29:45 +02:00
Cédric Krier
af50a2fd64
Insert new modules in ir_module table before registration
...
The ir.model* Models have foreign key constraint for the module column.
Closes #13244
2024-05-10 23:45:00 +02:00
Cédric Krier
76190b9e9d
Remove NOT NULL from create_uid and create_date in PostgreSQL init SQL
...
Those fields are not required.
2024-05-10 23:23:13 +02:00
Cédric Krier
2bc7969652
Fallback to the default language if it does not exist for product data feed
...
This avoid to fill the cache with unsupported languages.
2024-04-16 18:33:38 +02:00
Cédric Krier
cccdc1f1f7
Add scheduled task to update cached feeds
...
On large data set, generating the feed may take too long for an HTTP request.
So in this case user may want to update the cache with a scheduled task so the
requests are always answered directly using the cache.
2024-04-16 18:43:37 +02:00
Cédric Krier
215834f78f
Add code to production BOM
2024-05-14 08:58:04 +02:00
Cédric Krier
c1f3ddcd10
Unify logging message of bus
2024-05-09 17:01:28 +02:00
Cédric Krier
a5fcf23ad0
Save images with 300 dpi
...
Closes #13206
2024-04-20 12:29:34 +02:00
Cédric Krier
cd41ab4c5e
Always convert image to RGB format
...
Closes #13206
2024-04-20 12:26:21 +02:00
Cédric Krier
3800523d11
Move language field to the party header form
2024-05-09 12:07:48 +02:00
Cédric Krier
dea9cea516
Add description for image
...
Closes #13226
2024-04-30 12:58:04 +02:00
Nicolas Évrard
d3e9f3ac5f
Use read to fetch reverse field value of x2M field in field get
...
This avoid to create instances for origin or target just to get their id.
Closes #13245
2024-05-25 12:59:45 +02:00
Nicolas Évrard
56d580ae5b
Optimize instance creation in ModelStorage.__getattr__
...
The kwargs and pysoned context are put in a cache to avoid rebuild them for
each similar instance.
Closes #13245
2024-05-25 12:50:02 +02:00
Nicolas Évrard
4df7a36de3
Set the language when parsing XML files
2024-04-22 10:42:28 +02:00
Nicolas Évrard
370e2f3b41
Use English when fetching records from the database
...
Closes #13204
2024-04-18 19:00:34 +02:00
Nicolas Évrard
907bcafd64
Fix typo in the name of the filesystem caching class of the XML parser
2024-04-19 15:40:23 +02:00
Cédric Krier
8e9d6712c9
Use sales field to relate from sale to invoices
2024-05-02 18:47:41 +02:00
Cédric Krier
97796eacd1
Use purchases field to relate from purchase to invoices
2024-05-02 18:47:16 +02:00
Cédric Krier
5b9cc03243
Add python-format flag to PO files
2024-05-01 19:13:04 +02:00
Cédric Krier
ed5f91a480
Forbid payment of zero amount
...
Closes #13031
2024-05-05 10:06:07 +02:00
Cédric Krier
196cfbeb0c
Do the marketing record activity in the queue
...
This avoid to block the cron for a long period if there is a lot of record
activities to process.
In case of failure the record activities will be retried. And in case of long
delay in the queue, the record activities will not be processed twice thanks
to the transition filter of the workflow and the lock when updating state
field.
Closes #13146
2024-03-30 12:03:30 +01:00
Cédric Krier
5035063b35
Check validity of description of move template
2024-05-10 16:06:31 +02:00
Cédric Krier
ecd252e48b
Raise user error when description of move template can not be formatted
...
Closes #13240
2024-05-10 16:05:33 +02:00
Cédric Krier
06270e6a7a
Use decimal 0 without digits as default value
...
If the digits of the field is 0, than using '0.0' trigger the validation error
introduced by 2be02f249a1d.
Closes #13197
2024-04-30 19:15:44 +02:00
Cédric Krier
5bc94899c7
Fill tax rule pattern of web shop with countries
...
When account_tax_rule_country is activated, the pattern must be filled with
from_country and to_country to compute the right tax.
Closes #13223
2024-04-29 18:08:39 +02:00
Cédric Krier
f4f0102d20
Do not convert sale unit price to sale unit of measure if empty
...
Closes #13213
2024-05-10 15:17:37 +02:00
Nicolas Évrard
5d2e5f9329
Use the catch_warnings context manager when importing relatorio
...
Using warnings.resetwarnings also reset the warnings filter set from the
environment variable which makes working on fixing warnings more difficult.
2024-05-16 21:19:17 +02:00
Cédric Krier
1035df5340
Test if cache amount is null to include tax amount when searching for amount
...
Closes #13219
2024-04-28 17:30:17 +02:00
Cédric Krier
306f84c9d2
Clear company on the lot sequence in production scenario
...
Since 9191fe4b4da4, the sequence can not be restricted to a company.
Closes #13257
2024-05-14 08:56:28 +02:00
Cédric Krier
0442c7475b
Update reports to display company logo
2024-04-19 23:30:05 +02:00
Cédric Krier
254370278a
Add logo of companies
...
Closes #13205
2024-04-29 14:38:36 +02:00
Cédric Krier
e23c126c90
Cache http-v2 pip directory
...
Since pip 23.3 the HTTP requests are cached in a new directory.
2024-05-03 00:25:48 +02:00