11 Commits

Author SHA1 Message Date
mymage
fece050a64 Translated using Weblate (Italian)
Currently translated at 100.0% (6 of 6 strings)

Translation: stock-logistics-warehouse-14.0/stock-logistics-warehouse-14.0-stock_location_last_inventory_date
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-14-0/stock-logistics-warehouse-14-0-stock_location_last_inventory_date/it/
2024-01-22 12:37:04 +00:00
mymage
19e966ec31 Added translation using Weblate (Italian) 2024-01-22 11:08:54 +00:00
OCA-git-bot
22ba45483e [UPD] README.rst 2023-09-03 17:18:16 +00:00
OCA-git-bot
a8e08bacf3 [UPD] README.rst 2021-09-24 10:23:32 +00:00
oca-travis
57ca5d081a [UPD] Update stock_location_last_inventory_date.pot 2021-09-24 09:44:05 +00:00
Hai Lang
52137b56b3 [MIG] stock_location_last_inventory_date: Migration to 14.0 2021-09-24 15:17:45 +07:00
Thierry Ducrest
7fe3180497 [13.0][FIX] stock_location_last_inventory_date
The prevoius implementation was only taking into account the last inventory
specific to the location.
This change includes also inventories done on parents location.

Also display the computed last inventory date in the form view.
2021-09-24 15:04:27 +07:00
Carlos Serra-Toro
8d973477f3 [FIX] stock_buffer_sales_analysis: attending the code review
Several changes were done because of the code review:
* The category of the module is now "Warehouse", in alignment
  with the categories user in OCA (https://odoo-community.org/shop)
* The list of fields in the depends() for the method
  _compute_last_inventory_date() missed several fields, that are
  now listed as dependencies.
* A new unit test has been added to account for the concern of the
  functional needing a compute_sudo in its definition, just in case
  a non privileged stock user was stuck into permission problems.
2021-09-24 15:04:27 +07:00
Carlos Serra-Toro
1defa0acc6 [FIX] Add missing fields in the api.depends
Thanks to sebalix for spotting them.
2021-09-24 15:04:27 +07:00
Carlos Serra-Toro
8a53cd17bc Apply suggestions from code review
Co-authored-by: Guewen Baconnier <guewen.baconnier@camptocamp.com>
2021-09-24 15:04:27 +07:00
Carlos Serra-Toro
cc6da708da [ADD] stock_location_last_inventory_date
This new module adds a stored computed field on locations that stores
the last inventory date for the location, for validated inventories.
This is only computed for leaf locations, not parent ones.
2021-09-24 15:04:27 +07:00