Commit Graph

1527 Commits

Author SHA1 Message Date
OCA-git-bot
552ea820f5 [ADD] setup.py 2021-02-19 19:28:02 +00:00
OCA-git-bot
9c84566d3e [UPD] README.rst 2021-02-19 19:28:01 +00:00
oca-travis
179ad28127 [UPD] Update sale_stock_available_info_popup.pot 2021-02-19 18:55:38 +00:00
OCA-git-bot
d6015b4181 Merge PR #1086 into 13.0
Signed-off-by pedrobaeza
2021-02-19 18:43:38 +00:00
Víctor Martínez
dd93ad130e [MIG] sale_stock_available_info_popup: Migration to 13.0 2021-02-19 10:22:59 +01:00
Víctor Martínez
f3fc0c2b16 [IMP] sale_stock_available_info_popup: black, isort, prettier 2021-02-19 10:22:59 +01:00
david
c10c038e39 [FIX] sale_stock_available_info: ensure test line order 2021-02-19 10:22:59 +01:00
Matjaz Mozetic
b1c327e0ee Translated using Weblate (Slovenian)
Currently translated at 100.0% (4 of 4 strings)

Translation: stock-logistics-warehouse-12.0/stock-logistics-warehouse-12.0-sale_stock_available_info_popup
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-12-0/stock-logistics-warehouse-12-0-sale_stock_available_info_popup/sl/
2021-02-19 10:22:59 +01:00
Matjaz Mozetic
208b843c6f Added translation using Weblate (Slovenian) 2021-02-19 10:22:59 +01:00
Ernesto Tejeda
ea3c48e063 [ADD] sale_stock_available_info_popup: new module 2021-02-19 10:22:59 +01:00
OCA-git-bot
acdbb9a802 [ADD] setup.py 2021-02-15 14:38:05 +00:00
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