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
Cédric Krier
b68a8d6598
Deduce ignored sale quantity from credit limit
...
Closes #12226
2023-05-26 17:11:38 +02:00
Cédric Krier
ac74f92f84
Do not deduce negative sale quantities from credit amount
...
Closes #12226
2023-04-27 17:13:39 +02:00
Cédric Krier
1b165ac4bd
Raise error messages for missing currency exchange journal and accounts
2023-05-10 14:57:42 +02:00
Cédric Krier
681988e9dd
Raise an error message for missing write-off method when reconciling
2023-06-01 00:00:37 +02:00
Cédric Krier
4255e6ec1c
Use consistent name for "Write-off"
2023-05-10 14:43:34 +02:00
Cédric Krier
2015647285
Do not fail on missing writeoff account for reconciliation
...
There is no need to check for second currency if there is no account.
2023-05-10 13:14:00 +02:00
Cédric Krier
c1ca4757b3
Set explicitly account template type to None
...
#11143 removed some type value to follow the constraint of children having the
same type. But as there is no explicit value the old one is kept and so the
chart template may be invalid.
Closes #12280
2023-05-19 11:53:21 +02:00
Cédric Krier
9ad5356fa5
Call get_currencies from super to add balanced when reconcile deposit account
...
The changeset f9560247a0fc changed the name of the function without renaming
the super call.
Closes #12266
2023-05-11 09:38:33 +02:00
Sergi Almacellas Abellana
cf95121e98
Do not test quantity for lines of type different than line
...
Closes #12274
2023-05-16 09:35:15 +02:00
Maxime Richez
74af46a4bf
Use selection widget for weekday on currency cron form
...
Closes #12292
2023-06-01 08:48:45 +02:00
Hodei Navarro
bfa67d9302
Fix typo in search field when deactivating sale point's tax included
...
Closes #12286
2023-05-25 09:06:04 +02:00
Sergi Almacellas Abellana
c594bc67df
Manage empty stock end date values on location quantities
...
Closes #12289
2023-05-25 15:55:40 +02:00
Sergi Almacellas Abellana
e410ddd589
Update SII wsdl location
...
Closes #12276
2023-05-17 11:26:13 +02:00
Cédric Krier
399b443831
Remove timezone info after converting datetime in UTC
...
The datetime are always in UTC without tzinfo so they can be compared with the
data from the database.
Closes #12262
2023-05-10 10:07:34 +02:00
Cédric Krier
6b70ecf0f3
Test currency instead of party when reconcile automatically
...
Closes #12258
2023-05-05 12:24:08 +02:00
Cédric Krier
4929c6f294
Do not compute amount from reconciled lines if there is no currency
...
Closes #12256
2023-05-05 11:13:43 +02:00
Cédric Krier
b0590200db
Set invoice journal only when type is changed
...
Using on_change_with does not work correctly for editable field because the
value may be changed when the user does not expect it.
2023-04-29 12:57:57 +02:00
Cédric Krier
f2838915d4
Set invoice account only when changing party or dates
...
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 #12239
2023-04-29 12:56:51 +02:00
Cédric Krier
e63e90809a
Ensure to always have at least one set to union stock moves of commissions
...
Closes #12247
2023-05-02 15:06:17 +02:00
Cédric Krier
dc3afbd016
Define process delay per sale and purchase
...
Closes #12209
2023-04-12 13:42:18 +02:00
Cédric Krier
5335a2022d
Convert sum attribute into boolean
2023-05-06 14:25:22 +02:00
Cédric Krier
ee1a9a7901
Remove expense and revenue on "Charges et produits financières"
...
Closes #12196
2023-04-09 19:23:15 +02:00
Cédric Krier
375d86c353
Show invoice line on timesheet form
...
Closes #4737
2023-04-08 23:55:43 +02:00
Cédric Krier
84d83120c5
Add receivable/payable to company
2023-04-07 18:24:09 +02:00
Cédric Krier
d547689e0e
Add sum to aged balance term and balance
2023-04-07 17:10:39 +02:00
Adrià Tarroja Caubet
960c220329
Remove migrations previous to 5.0
...
Closes #11324
2023-01-19 11:25:25 +01:00
Cédric Krier
74ff1b1b7e
Add pay, block and unblock payment buttons to invoice lines to pay
...
It can be useful for the user to be able to create payment for invoice lines
directly from the invoice form.
2023-05-04 19:51:00 +02:00
Maxime Richez
7f3e9993d9
Add skip warehouse option on context of lot by warehouse
...
Closes #12230
2023-05-04 09:25:59 +02:00
Cédric Krier
74540107b1
Handle evaluation error in get_cost_price of cost price revision
...
The method can be called with unsaved record so the check has not yet been
called.
Closes #12216
2023-04-13 16:40:09 +02:00
Sergi Almacellas Abellana
c8095a1a84
Add missing bank account on process sepa without bank error message
...
Closes #12249
2023-05-02 16:52:28 +02:00
Cédric Krier
1a11e103bf
Increase version number
2023-05-01 14:11:22 +02:00
Cédric Krier
1901135502
Prepare release 6.8.0
2023-05-01 13:19:11 +02:00