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
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
Cédric Krier
d0b24968c8
Delete delivered to warehouse when party is deleted
2023-06-02 17:46:11 +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
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
8da59ae521
Use sum_tree for stock reporting margin
2023-05-11 16:35:03 +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
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
5335a2022d
Convert sum attribute into boolean
2023-05-06 14:25:22 +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
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
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
Cédric Krier
3a15e586ca
Delete on cascade locations
...
Closes #3689
2023-04-22 18:43:45 +02:00
Cédric Krier
84a2b5e271
Update translations
2023-04-29 10:07:40 +02:00
Cédric Krier
b0b173f84d
Convert product cost datetime in UTC from the company timezone
...
Closes #12026
2023-04-11 00:30:00 +02:00
Cédric Krier
b9c4b8230d
Return instance in on_change_with methods
2023-03-26 09:49:00 +02:00
Cédric Krier
b719d8aed1
Add rstcheck
2023-03-15 16:33:19 +01:00
Cédric Krier
ac4d4a7fbb
Use multivalue API to access product multivalue fields
...
Closes #7474
2023-03-19 19:57:30 +01:00
Cédric Krier
6be816d947
Set order for stock moves on shipments
...
On shipment a good default order is by target location and product, but we add
the id to have deterministic result and remove the target location if by
design it is always the same.
On report with sequence on location, the order is fixed by the sequence of the
location.
Closes #7819
2023-02-22 16:58:23 +01:00
Cédric Krier
d1f1d0b023
Add account_stock_eu module for intrastat report
...
Closes #11837
2023-03-12 22:21:54 +01:00
Cédric Krier
aa941c80a9
Group copy calls when trying to assign stock moves
...
Close #9802
2023-02-24 09:02:34 +01:00
Cédric Krier
ba701d5a38
Remove invalid fields from default copy
2023-03-15 16:11:51 +01:00
Sergi Almacellas Abellana
bf6fb5b760
Use inventory company to complete lines
...
Closes #12127
2023-03-09 13:37:12 +01:00
Cédric Krier
5cc5a8f672
Update tox.ini to set py311 and remove py37
2023-03-03 00:17:18 +01:00
Cédric Krier
567b504d4c
Add stock invert context to compute quantity
2023-02-11 12:36:49 +01:00
Nicolas Évrard
039761e061
Remove support for Python 3.7
2023-01-29 20:36:51 +01:00
Nicolas Évrard
777ee10f27
Add support for Python 3.11
2023-01-27 11:02:47 +01:00
Sergio Hervas
472b4b0aa7
Display and order by planned date when searching incoming moves from supplier shipment
...
Closes #12060
2023-02-13 14:30:29 +01:00
Cédric Krier
b48e4966d5
Add functions and attribute to handle check access and active records
...
Closes #11863
2022-12-30 13:56:10 +01:00
Cédric Krier
68753ff402
Run action from button with proteus
2023-01-17 14:39:18 +01:00
Sergi Almacellas Abellana
e779b8107e
Add rec_name searcher on reporting models
...
Closes #11263
2023-01-09 14:49:16 +01:00
Cédric Krier
69a1be6404
Assign all possible shipments and productions when trying
...
If assign_try fails to assign all the moves, we check if all the moves of each
shipment and production are assigned and then assign them.
Also we remove the boolean return which makes no more sense.
Closes #7006
2023-01-14 15:41:26 +01:00
Cédric Krier
0da84b21a3
Allow children location as source of outgoing moves for customer shipment
...
When the output location is the same as the storage location, we should allow
to record that products have been picked in a children location.
Closes #11973
2022-12-29 19:07:56 +01:00
Cédric Krier
66349b4121
Store warehouse locations on shipments
...
This ensures that the domain based on warehouse location stays valid even if
the warehouse configuration is changed after the creation of the shipment.
Closes #11974
2022-12-30 01:36:00 +01:00
Cédric Krier
e121edc9ec
Ignore explicitly stock moves for assignation
...
Closes #11945
2022-12-18 15:40:10 +01:00
Cédric Krier
4683fde7ac
Make scenario independent of the current day
...
The fiscal years are created centered on the passed date such that if the
current day change during the execution, the fiscal year is still usable.
Also fiscal year can be created for a range of dates such that it is guarantee
that the dates are in the fiscal year.
And finally remove datetime and dateutil import when they are not used.
Closes #9977
2023-01-01 10:36:03 +01:00
Cédric Krier
2b786d8c44
Add coverage reports
2023-01-08 11:18:56 +01:00
Cédric Krier
62e8201d5a
Add unit test reports
2023-01-08 01:55:20 +01:00
Cédric Krier
5f8b891f62
Increase verbosity of tox
2022-12-28 00:26:31 +01:00
Cédric Krier
f9be31007f
Raise error message with record name and field in check_xml_record
...
Closes #11867
2022-12-26 13:18:22 +01:00
Cédric Krier
98cbb23f58
Improve setup.py
...
get_required_version does not need to use .dev0 suffix anymore.
The download URL must be empty for development version.
Source Code must point to Heptapod repository.
Foundation email is used as author email.
2022-12-24 13:45:10 +01:00
Cédric Krier
c35e1ad98d
Use modulo on minor version to set latest series for documentation
2022-12-20 12:43:56 +01:00
Cédric Krier
5d3e4a39f2
Prepare migration to monorepo
2022-12-16 23:16:08 +01:00
Cédric Krier
4de9b6480e
Prepare migration to monorepo
2022-12-16 15:33:21 +01:00