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
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
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
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
6278bce20e
Fix message variable for open fiscal year earlier
2023-06-13 15:57:00 +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
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
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
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
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
Sergi Almacellas Abellana
a90ccb386a
Migrate supply_on_sale in history table if activated
...
Closes #12255
2023-06-02 18:59:32 +02:00
Cédric Krier
f55e837704
Do not migrate supply on sale column if it does not exist
2023-06-02 18:26:46 +02:00
Sergi Almacellas Abellana
f9b9a751d4
Fix typo in sale supply register method
...
Closes #12255
2023-05-05 09:58:39 +02:00
Cédric Krier
c053327018
Show reconciliation lines of invoice also when cancelled
...
When the invoice is refund with a credit note, it is cancelled instead of paid
so the reconciliation lines from the credit note are not displayed as payment
lines.
So we should display them in this case.
2023-05-17 17:25:03 +02:00
Cédric Krier
6a5449f315
Test account consolidation with company tests
2023-05-04 14:42:40 +02:00
Cédric Krier
de7bcd6857
Permit to customize field to skip for company rules
2023-05-04 14:40:42 +02:00
Cédric Krier
59759f9b87
Do not repeat "Location" in the string of location type
...
This is redundant and is awkward when typing a filter by type on stock move
like "From Location.Location Type".
2023-05-10 08:51:23 +02:00
Cédric Krier
0e8f642662
Use sum_tree for accounting trees
2023-05-11 16:49:58 +02:00
Cédric Krier
8da59ae521
Use sum_tree for stock reporting margin
2023-05-11 16:35:03 +02:00
Cédric Krier
a248bca2b4
Use sum_tree for sale reporting
2023-05-11 16:27:22 +02:00
Cédric Krier
967de7ab42
Use sum_tree for project work fields
2023-05-11 16:18:49 +02:00
Cédric Krier
fc8e2016e7
Compute amount of invoice line tax when changing tax or base
...
Using on_change_with does not work correctly for editable field because the
value may be changed when the user does not expect it.
Closes #8618
2023-05-17 18:24:40 +02:00
Cédric Krier
40d8a5644d
Set context on report instantiation when testing consolidation statement
...
The context of report is set on instantiation and not on execution.
2023-05-15 17:57:58 +02:00