Sergi Almacellas Abellana
50cab67fab
Allow date formating in sequences substitutions
...
Closes #8945
2023-06-06 09:00:50 +00:00
Pedro Nuñez
d37e8d0990
Correct call to super method for Shopify name
...
The name of the property was changed on commit 905801635f45
but the call to super method was not updated to the new name.
Closes #12355
2023-06-30 09:17:02 +02:00
Cédric Krier
abf3167bcb
Allow to use storage location as input or output location
...
When the input or output location is the same as the storage location, it can
be of type view.
2023-06-05 18:55:41 +02:00
Cédric Krier
b2abd35dca
Allow to store view location as warehouse storage on shipments
...
It is allowed to have a view location as storage for a warehouse so the
shipment should support it.
Closes #12307
2023-06-05 18:20:44 +02:00
Cédric Krier
a560998bc8
Forbid to change quantity of invoice line from project
2023-05-24 17:05:43 +02:00
Cédric Krier
2721a6068a
Forbid to delete work invoiced on effort
2023-05-09 14:09:14 +02:00
Cédric Krier
6f11ed963f
Forbid to modify effort of work invoiced on effort
2023-05-09 14:09:39 +02:00
Cédric Krier
4f7504d9d0
Include timesheet line name in access error when it is invoiced
2023-05-09 14:05:40 +02:00
Cédric Krier
b69dae7205
Make ModelSQL based on table query read only by default
...
Closes #12331
2023-06-18 17:26:27 +02:00
Cédric Krier
c28380a159
Keep default access for model without model access entry
2023-06-18 17:21:06 +02:00
Nicolas Évrard
75facbaf4d
Do not set previous record in selection changed callback when it is destroyed
...
Closes #12357
2023-06-27 14:59:33 +02:00
Adrià Tarroja Caubet
65c6380cad
Display cost of production works
...
Closes #11001
2023-05-03 14:29:57 +02:00
Cédric Krier
b2f90a89e0
Display amendments field when order is in processing state
...
This allows creating amendment from the order form directly.
2023-06-14 16:26:21 +02:00
Sergi Almacellas Abellana
614cff956d
Allow modification of invoice references when report is not cached
2023-06-22 16:11:33 +00:00
Cédric Krier
54a7bd42dd
Set Sendcloud Partner Id header
2023-05-19 17:32:03 +02:00
Cédric Krier
d2ad167946
Set Tryton as default user agent header
...
Closes #11979
2023-05-19 17:25:55 +02:00
Cédric Krier
421b0752f3
Normalize stored emails
2023-04-29 19:03:42 +02:00
Cédric Krier
66df0be6a9
Validate email fields
...
Closes #12215
2023-04-29 19:07:13 +02:00
Cédric Krier
13cedb53e8
Convert email address to ASCII to support RFC6530
...
Python email library does not support non-ASCII emails so we convert email
addresses to ASCII version before passing them to sendmail.
Closes #10650
2023-04-29 19:04:18 +02:00
Cédric Krier
66f10aed84
Add email validation tools
2023-04-29 18:52:40 +02:00
Cédric Krier
b4771f3c95
Use strict parameter of sendmail_transactional instead of datamanager
2023-04-29 18:24:37 +02:00
Cédric Krier
635899e7d2
Fill analytic when defer invoice
...
Closes #11306
2023-05-30 16:30:04 +02:00
Christophe Crier
8b52a5b6ac
Ask for date when creating account move from template
...
Closes #8725
2023-06-21 21:57:18 +02:00
Cédric Krier
4ead8b6461
Fail gettext on test
2023-06-13 08:57:01 +02:00
Cédric Krier
6278bce20e
Fix message variable for open fiscal year earlier
2023-06-13 15:57:00 +02:00
Cédric Krier
b6f1b2533c
Use proper module prefix for msg_dict_schema_help_selection_help
2023-06-13 15:52:27 +02:00
Cédric Krier
40691db7e6
Use message for constraint on tests models
2023-06-13 08:56:52 +02:00
Cédric Krier
9830447295
Use message for exclusive constraint on trigger
2023-06-13 00:06:06 +02:00
Cédric Krier
7ec46a6295
Always disable scroll-event and prevent move-active on readonly time and datetime
...
The time and datetime widgets were missing from 7a55ecca7a59 of #7076
2023-05-30 18:26:16 +02:00
Cédric Krier
27a9c39197
Set value on focus out and changed signal for datetime widget
...
The focus out of child widgets must call focus out method.
And we need to connect to the datetime-changed event as DateTime does not call
the __init__ method of Date.
Closes #12020
2023-05-30 18:15:43 +02:00
Cédric Krier
15749e6ab5
Display target quantity of order point on list view
...
The target quantity is always required and visible.
2023-06-18 16:35:35 +02:00
Cédric Krier
74fb2982d6
Remove computed unit digits fields for stock quantity
...
The unit field can be used directly as digits.
2023-06-12 16:23:25 +02:00
Cédric Krier
a28a8268c8
Deprecate log method for report to store exception
2023-06-19 15:23:18 +02:00
Cédric Krier
6b9f87c4b3
Manage naming collision for log method on ir.error
...
Since a2eaa8f46096, ModelStorage has a generic log method which collides with
the exiting log method introduced in f6b0d437b5b6.
For backward compatibility we test the arguments to decide which version is
actually called.
Closes #12333
2023-06-21 11:11:25 +02:00
Cédric Krier
ff883ff5c2
Remove support of returning for SQLite
...
Backed out changeset 989eeee984e4
The SQLite implementation of returning is partial so we can not yet use it as
long as the limitations are not solved:
https://www.sqlite.org/lang_returning.html#limitations_and_caveats
Closes #12288
2023-06-18 10:35:29 +02:00
Cédric Krier
306eca6edb
Remove overlapping indexes
2023-05-22 12:13:48 +02:00
Cédric Krier
6417fba801
Support subset operator between index definitions
2023-05-22 14:32:43 +02:00
Cédric Krier
e9ba0a436e
Compare string version of option value when it is SQL
...
Closes #12282
2023-05-22 13:09:15 +02:00
Cédric Krier
04275b8c6b
Add missing set_indexes interface on table handler
2023-05-22 11:01:24 +02:00
Cédric Krier
59410978dc
Do not implement equality between Index and any other type
2023-05-22 14:33:18 +02:00
Nicolas Évrard
91ed1cddc1
Use indexes and cache to make search on amounts faster
...
This optimization relies on the idea that few invoices should stay in the
states where the amount cache fields are empty. It splits the search query in
two parts: one on the cached fields, the other on the computation with the
invoice lines (and tax lines when it applies).
Closes #11919
2023-05-27 09:53:47 +02:00
Nicolas Évrard
d894c1f442
Add cache on invoice's amounts
...
Having cache on the invoice's amounts will allow to make search more efficient
for #11919
2023-05-25 16:21:49 +02:00
Maxime Richez
df3aca4022
Add location and date to inventory name
...
Closes #12188
2023-06-09 09:15:31 +02:00
Maxime Richez
b4ab5413ac
Disable unaccented search for inventory number
2023-06-07 15:37:17 +02:00
Nicolas Évrard
120fe19598
Set right XML ID on message about amount to pay
2023-05-10 17:27:35 +02:00
Cédric Krier
32108f2489
Ensure analytic line domain is still valid after account modification
...
Analytic account can not be changed from normal to any of the root, view or
distribution.
2023-05-17 15:19:37 +02:00
Cédric Krier
1d2eeaa13e
Always enforce company for account of analytic line
2023-05-17 15:03:35 +02:00
Cédric Krier
a936b54fd1
Allow only normal account on analytic line
...
Closes #4030
2023-05-17 14:46:52 +02:00
Cédric Krier
43216a0546
Do not try to login if Authorization has no username
...
User application request has an Authorization header so an Authorization
instance is returned but it can not be used for login.
Closes #12312
2023-06-09 08:17:20 +02:00
Cédric Krier
aa1475a467
Use boolean value when enforcing value to edit delivery date of purchase line
...
The clients always convert Boolean field values into boolean so the domain
validation against None value is always failing.
Closes #12306
2023-06-05 15:18:11 +02:00