Commit Graph

9 Commits

Author SHA1 Message Date
OCA-git-bot
0a2ff270b3 stock_location_last_inventory_date 13.0.1.0.1 2021-09-22 15:03:34 +00:00
oca-travis
894314eb04 [UPD] Update stock_location_last_inventory_date.pot 2021-09-22 14:21:50 +00:00
Thierry Ducrest
e3a021a2dd [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-22 13:47:39 +02:00
OCA-git-bot
7ff54feb12 [UPD] README.rst 2021-02-01 17:24:40 +00:00
oca-travis
7c483d3024 [UPD] Update stock_location_last_inventory_date.pot 2021-02-01 16:45:34 +00:00
Carlos Serra-Toro
690db5e8dc [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-01-29 13:40:35 +01:00
Carlos Serra-Toro
85d6f31639 [FIX] Add missing fields in the api.depends
Thanks to sebalix for spotting them.
2021-01-27 17:16:32 +01:00
Carlos Serra-Toro
4c06813b01 Apply suggestions from code review
Co-authored-by: Guewen Baconnier <guewen.baconnier@camptocamp.com>
2021-01-26 07:59:44 +01:00
Carlos Serra-Toro
65968ba75e [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-01-25 16:41:53 +01:00