Commit Graph

1516 Commits

Author SHA1 Message Date
OCA-git-bot
05b0ce73de [UPD] README.rst 2021-02-15 14:38:04 +00:00
oca-travis
8a45783b0a [UPD] Update stock_archive_constraint.pot 2021-02-15 14:01:16 +00:00
OCA-git-bot
efb056d28c Merge PR #1057 into 13.0
Signed-off-by pedrobaeza
2021-02-15 13:23:54 +00:00
Víctor Martínez
705ece2986 [MIG] stock_archive_constraint: Migration to 13.0 2021-02-15 14:21:15 +01:00
OCA-git-bot
bb654853b2 [ADD] setup.py 2021-02-15 11:49:27 +00:00
OCA-git-bot
296397597b [UPD] README.rst 2021-02-15 11:49:26 +00:00
oca-travis
a8c290fa3c [UPD] Update stock_putaway_product_template.pot 2021-02-15 11:18:46 +00:00
OCA-git-bot
a3e22bd007 Merge PR #1001 into 13.0
Signed-off-by pedrobaeza
2021-02-15 11:05:51 +00:00
Víctor Martínez
75cf49e9a0 [MIG] stock_putaway_product_template: Migration to 13.0 2021-02-15 10:47:23 +01:00
OCA-git-bot
db4b0c21e4 stock_helper 13.0.1.1.0 2021-02-11 11:32:42 +00:00
OCA-git-bot
723eda9426 stock_reserve_rule 13.0.1.3.0 2021-02-11 11:32:40 +00:00
OCA-git-bot
76632419aa [ADD] setup.py 2021-02-11 11:32:40 +00:00
OCA-git-bot
8cc091143a [ADD] icon.png 2021-02-11 11:32:40 +00:00
OCA-git-bot
1b422bd4e2 [UPD] README.rst 2021-02-11 11:32:39 +00:00
oca-travis
619fbe4c60 [UPD] Update stock_reserve_rule.pot 2021-02-11 10:40:04 +00:00
oca-travis
db7bfb8db3 [UPD] Update stock_helper.pot 2021-02-11 10:39:19 +00:00
OCA-git-bot
feb4bafd50 Merge PR #1073 into 13.0
Signed-off-by simahawk
2021-02-11 09:53:40 +00:00
Guewen Baconnier
60ed86b534 Apply suggestions from code review
Co-authored-by: Simone Orsi <simahawk@users.noreply.github.com>
2021-02-11 09:42:29 +01:00
Víctor Martínez
cd4680d27e [IMP] stock_putaway_product_form: black, isort, prettier 2021-02-10 11:07:38 +01:00
OCA-git-bot
9cce1668cd [UPD] README.rst 2021-02-10 11:07:38 +01:00
oca-travis
ea1f1f8e28 [UPD] Update stock_putaway_product_form.pot 2021-02-10 11:07:38 +01:00
Kevin Khao
534c623920 [IMP] Add group permissions to views 2021-02-10 11:07:38 +01:00
Sergio Teruel
3550437ec3 [IMP] stock_putaway_product_form: Allow to define rules by product template 2021-02-10 11:07:38 +01:00
Kevin Khao
63b1e519a7 [ADD] 12.0: stock_putaway_product_form 2021-02-10 11:07:38 +01:00
Guewen Baconnier
4ebd66455d stock_reserve_rule: add dependency on stock_helper
To remove the duplicate implementation of
StockLocation.is_sublocation_of()
2021-02-09 12:15:32 +01:00
Guewen Baconnier
90b88d1df3 Add stock_helper: share common code used by stock modules
The first method is: StockLocation.is_sublocation_of()

This method is currently used in:

* wms/stock_dynamic_routing
* wms/shopfloor
* wms/stock_move_source_relocate
* stock-logistics-warehouse/stock_reserve_rule
* ddmrp/ddmrp

The goal will be to use this module as dependency instead of
reimplementing the method in each.

Other methods should follow in "stock_helper".

Note: I opened https://github.com/odoo/odoo/pull/53866 to propose a
generic version of this method, expecting odoo's opinion, but got no
answer.
2021-02-09 12:15:18 +01:00
OCA-git-bot
384ab7c1ac stock_move_auto_assign 13.0.1.1.0 2021-02-08 20:43:19 +00:00
OCA-git-bot
22d8ff9227 Merge PR #1067 into 13.0
Signed-off-by jgrandguillaume
2021-02-08 20:20:21 +00:00
OCA Transbot
bd3ff3d0d1 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: stock-logistics-warehouse-13.0/stock-logistics-warehouse-13.0-stock_secondary_unit
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-13-0/stock-logistics-warehouse-13-0-stock_secondary_unit/
2021-02-02 20:19:11 +00:00
OCA-git-bot
8f804b8646 stock_secondary_unit 13.0.2.0.0 2021-02-02 20:18:47 +00:00
oca-travis
7218912d9d [UPD] Update stock_secondary_unit.pot 2021-02-02 19:34:22 +00:00
OCA-git-bot
a9f8d5237f Merge PR #1053 into 13.0
Signed-off-by pedrobaeza
2021-02-02 19:18:49 +00:00
OCA-git-bot
169a55cbb2 [ADD] setup.py 2021-02-01 17:24:41 +00: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
OCA-git-bot
219a42b5aa Merge PR #1063 into 13.0
Signed-off-by jgrandguillaume
2021-02-01 16:01:29 +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
Guewen Baconnier
cd160b2737 Remove @job decorator
Following changes in https://github.com/OCA/queue/pull/274
2021-01-29 10:56:09 +01:00
Guewen Baconnier
8824a54710 Fix concurrency race condition on picking state
When the 2 last moves of a stock.picking are assigned at the same
time by 2 jobs (different products both available), none of the
transaction will see that it is the last move to be assigned. As a
result, the picking will stay in state "confirmed" even if all its
moves are assigned.

Lock the stock.picking records when we call auto_assign.
If we have many pickings touched for the same product, the lock
can be quite large, so we may have to find a better option.

I could not write a test to exercise this, because we can't have 2
transactions being aware of it, even if we create the picking in demo
data as tests can be run during install.
2021-01-29 10:55:50 +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
oca-travis
20d0a8822a [UPD] Update stock_vertical_lift.pot 2021-01-26 08:20:41 +00:00
OCA-git-bot
10aa2a8d49 stock_vertical_lift 13.0.1.2.0 2021-01-26 08:09:05 +00:00
OCA-git-bot
c20cdd37c5 [UPD] README.rst 2021-01-26 08:09:04 +00:00
oca-travis
f78a95ca4c [UPD] Update stock_vertical_lift.pot 2021-01-26 07:40:38 +00:00
OCA-git-bot
516db7176c Merge PR #1062 into 13.0
Signed-off-by simahawk
2021-01-26 07:28:57 +00: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
Carlos Serra-Toro
cd65caff20 [IMP] stock_vertical_lift: Add skip operation to vertical lift shuttles
In the screen for the vertical lift shuttles, accessible through
Inventory > Operations > Vertical Lift Shuttles, a new button has been
added to allow to skip an operation. This button can also be triggered
by scanning the barcode O-BTN.skip.svg that is inside the folder
'images'.

When a skip is done, the next stock.move.line to pick is chosen and
shown to the operator. A skipped move line is added to the end of the
list of pending move lines to be picked, so they will be shown again
in the future as soon as the other move lines have been successfully
processed.

This option was added because, sometimes, the operator can not process
a move line for whatever reason. Right now, the only way of proceeding
is to wait until he/she can effectively process it, which involves a
delay in the operations. With this new skip operation, the operator
can continue processing the rest of move lines.
2021-01-25 12:02:21 +01:00
Víctor Martínez
9532b366b3 [IMP] stock_archive_constraint: black, isort, prettier 2021-01-21 08:05:05 +01:00
OCA-git-bot
1ef71746dc [UPD] README.rst 2021-01-21 08:04:12 +01:00