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
Hartmut Goebel
43d88d67fe
Update README
2023-06-09 09:28:59 +02:00
Sergi Almacellas Abellana
5b53300280
Set date on purchase price context
...
Closes #12309
2023-06-07 09:58:57 +02:00
Cédric Krier
d0b24968c8
Delete delivered to warehouse when party is deleted
2023-06-02 17:46:11 +02:00
Cédric Krier
de95e79417
Fallback to empty string when column path is NULL
...
Closes #12235
2023-06-06 12:55:12 +02:00
Cédric Krier
01727ac772
Fill result for unknown parent in sum_tree
...
The parent of a record may not be in the list of instances computed.
2023-06-05 12:55:00 +02:00
Cédric Krier
0bffc1c384
Use defaultdict to compute cost and revenue total of project
...
Since e35820296f3a, sum_tree is use to compute project total but it requires
to have a default value for parents that are not in the list of instances.
Closes #12305
2023-06-05 12:53:59 +02:00
Cédric Krier
08639d8b9b
Add company to context model of stock quantity models
...
Closes #12268
2023-05-30 13:05:34 +02:00
Cédric Krier
b4e809df2a
Instantiate transaction only once when computing stock quantity
2023-05-30 13:03:55 +02:00
Cédric Krier
0c9269d6b2
Do not compute stock quantity for user without company
...
User without company should not see the stock quantity of all the companies
except for root user (as it is used to check for empty location).
2023-05-30 13:02:19 +02:00
Cédric Krier
76b7bf9ffa
Unset company and employee of user when context values are not authorized
2023-05-30 16:36:25 +02:00
Cédric Krier
fb265b66ba
Display payment buttons at the end of move line to pay of invoice
2023-05-26 18:07:39 +02:00
Cédric Krier
ccfb3bd8d5
Add more fields to payment lines of invoice
...
The same fields than for the receivable/payable line are used.
2023-05-26 18:07:04 +02:00