Commit Graph

723 Commits

Author SHA1 Message Date
OCA-git-bot
c2db7d0a68 [ADD] setup.py 2019-09-11 08:46:26 +00:00
OCA-git-bot
c6117d5e77 [ADD] icon.png 2019-09-11 08:46:25 +00:00
OCA-git-bot
c8d05b6fed [UPD] README.rst 2019-09-11 08:46:25 +00:00
oca-travis
4e8e0a1ef3 [UPD] Update stock_location_zone.pot 2019-09-11 07:51:30 +00:00
OCA-git-bot
373d9584ab Merge PR #653 into 12.0
Signed-off-by jgrandguillaume
2019-09-11 07:16:36 +00:00
OCA Transbot
0f8a166f3e Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: stock-logistics-warehouse-12.0/stock-logistics-warehouse-12.0-stock_available_mrp
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-12-0/stock-logistics-warehouse-12-0-stock_available_mrp/
2019-09-03 11:30:04 +00:00
OCA-git-bot
5b06a89074 Merge PR #692 into 12.0
Signed-off-by lreficent
2019-09-03 11:29:42 +00:00
OCA-git-bot
0299c67a29 stock_request 12.0.1.1.2 2019-09-03 11:29:40 +00:00
hveficent
a8941056cb [FIX] stock_request: Inventory users now can validate Transfers from SRs _compute_qty 2019-09-03 10:58:33 +00:00
Rudolf Schnapka
fce3e7c97d Translated using Weblate (German)
Currently translated at 80.9% (131 of 162 strings)

Translation: stock-logistics-warehouse-12.0/stock-logistics-warehouse-12.0-stock_request
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-12-0/stock-logistics-warehouse-12-0-stock_request/de/
2019-08-31 16:23:21 +00:00
Rudolf Schnapka
1698404d69 Translated using Weblate (German)
Currently translated at 100.0% (4 of 4 strings)

Translation: stock-logistics-warehouse-12.0/stock-logistics-warehouse-12.0-account_move_line_stock_info
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-12-0/stock-logistics-warehouse-12-0-account_move_line_stock_info/de/
2019-08-31 16:23:21 +00:00
OCA Transbot
3b445c657b Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: stock-logistics-warehouse-12.0/stock-logistics-warehouse-12.0-stock_available_mrp
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-12-0/stock-logistics-warehouse-12-0-stock_available_mrp/
2019-08-31 09:56:38 +00:00
OCA-git-bot
33e5d79b88 Merge PR #644 into 12.0
Signed-off-by pedrobaeza
2019-08-31 09:00:50 +00:00
OCA-git-bot
a601db03b1 [ADD] setup.py 2019-08-31 09:00:50 +00:00
oca-travis
625f906597 [UPD] Update stock_available_mrp.pot 2019-08-31 08:09:17 +00:00
Pedro M. Baeza
1312f685e8 [FIX] stock_available_mrp: Fix RST formatting + generate README 2019-08-31 09:30:11 +02:00
Florian da Costa
22d3c6ba95 Make stock_available_mrp compatible with other modules like stock_available_immediately 2019-08-31 09:26:35 +02:00
Florian da Costa
27d80f3f14 Migrate stock_available_mrp to v12 2019-08-31 09:26:35 +02:00
Timon Tschanz
5337e7a0dd [11.0][MIG] port stock_available_mrp to 11.0 2019-08-31 09:26:35 +02:00
Timon Tschanz
8fb3e7615f [FIX] stock_available_mrp: remove duplicate button + fix calculation of immediately usable qty 2019-08-31 09:26:13 +02:00
Cédric Pigeon
b6601511bf [ADD] include new improvments 2019-08-31 09:25:33 +02:00
Denis Roussel
32e4a04559 [IMP] stock_available_mrp: readability + change compute bom_id + use recordset + Condition never statisfied 2019-08-31 09:25:33 +02:00
Cédric Pigeon
be62bbb2f0 [10.0][MIG] port stock_available_mrp to 10.0 2019-08-31 09:25:13 +02:00
OCA Transbot
d876bdb121 OCA Transbot updated translations from Transifex 2019-08-31 09:25:02 +02:00
Cyril Gaudin
aa6f648973 V9 migration modifications.
* mrp_bom.name has been deleted.
    * mrp_bom_line.type moved to mrp_bom.type.
    * Fix missing group_mrp_user issue.
    * Change versions
2019-08-31 09:25:02 +02:00
Cyril Gaudin
ba3d34e532 [FIX+IMP] stock_available_mrp: fix recursive potential_qty in list view + small improvements 2019-08-31 09:24:35 +02:00
Laetitia Gangloff
f99dc729e7 stock_available / stock_available_mrp : add possibility to choose which field use to compute potential 2019-08-31 09:23:15 +02:00
Cyril Gaudin
7eb24997d5 stock_available_mrp: fix BOM qty (multi-units, efficiency) 2019-08-31 09:23:15 +02:00
OCA Transbot
f28964e6c5 OCA Transbot updated translations from Transifex 2019-08-31 09:23:15 +02:00
Lionel Sausin
75f84365f7 [FIX] fix multi-company test
Record rules used to not be checked on stock quants, but now they are since Odoo's commit 2fd14db57433d08ab368a7e18d18ae8d49dafab1 (https://github.com/odoo/odoo/commit/2fd14db).
In our test we changed the company of the products and BoMs but we neglected that the stock was not attached to the right company, and that made the test fail.
To fix that, make the test inventory for the right company.
Since there is a little inconsistency in the demo data with a negative quantity of an unrelated product, use the `partial` filter for the inventories instead of the `none` filter, so that no wrong inventory lines are added automatically.
2019-08-31 09:23:15 +02:00
Laurent Mignon (ACSONE)
9e778c369d [FIX] Browse mrp.bom as current user
sudo is not required since mrp.bom are readable to groups with access to the qty_x fields on a product. Moreover using sudo to retrive the bom will ignore the company_id defined on the bom
2019-08-31 09:23:15 +02:00
Lionel Sausin
7900fd12e1 [MIGR] stock_available_mrp: migrate to v8
Compute potential quantities for both product templates and variants. To keep the code simple, only the biggest potential of any single variant is accounted for in the template's potential.
Take all levels of phantom BoM into account, respects validity dates etc. thanks to the use of the standard method _bom_explode, as suggested by @gdgellatly in https://github.com/OCA/stock-logistics-warehouse/pull/5#issuecomment-66902191
Improve tests, rewritten in python.
Adhere to new file/manifest/README conventions.
Simplify copyright headers
2019-08-31 09:23:15 +02:00
Stéphane Bidoul
8ab9b32f67 [MOV] move addons out of __unported__ (they remain not installable) 2019-08-31 09:23:15 +02:00
Rodrigo Macedo
6da6ce8174 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (31 of 31 strings)

Translation: stock-logistics-warehouse-12.0/stock-logistics-warehouse-12.0-stock_quant_manual_assign
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-12-0/stock-logistics-warehouse-12-0-stock_quant_manual_assign/pt_BR/
2019-08-30 14:23:19 +00:00
Rodrigo Macedo
82f3a0a669 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (21 of 21 strings)

Translation: stock-logistics-warehouse-12.0/stock-logistics-warehouse-12.0-stock_available
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-12-0/stock-logistics-warehouse-12-0-stock_available/pt_BR/
2019-08-30 14:23:19 +00:00
Rodrigo Macedo
4b0217c9f5 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (2 of 2 strings)

Translation: stock-logistics-warehouse-12.0/stock-logistics-warehouse-12.0-stock_inventory_exclude_sublocation
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-12-0/stock-logistics-warehouse-12-0-stock_inventory_exclude_sublocation/pt_BR/
2019-08-30 14:23:18 +00:00
Rodrigo Macedo
7652257e9c Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (2 of 2 strings)

Translation: stock-logistics-warehouse-12.0/stock-logistics-warehouse-12.0-stock_warehouse_orderpoint_stock_info_unreserved
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-12-0/stock-logistics-warehouse-12-0-stock_warehouse_orderpoint_stock_info_unreserved/pt_BR/
2019-08-30 14:23:18 +00:00
Rodrigo Macedo
81cadfa29e Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (4 of 4 strings)

Translation: stock-logistics-warehouse-12.0/stock-logistics-warehouse-12.0-account_move_line_stock_info
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-12-0/stock-logistics-warehouse-12-0-account_move_line_stock_info/pt_BR/
2019-08-30 14:23:18 +00:00
Guewen Baconnier
a6998d67a6 Set Alpha development status
* Add copyright header
* Add myself as contributor of stock_location_zone
* Fix lint
2019-08-28 15:03:23 +02:00
OCA-git-bot
55f30def42 Merge PR #690 into 12.0
Signed-off-by jbeficent
2019-08-28 11:56:19 +00:00
OCA-git-bot
7dbac541d1 stock_request_purchase 12.0.1.1.1 2019-08-28 11:56:17 +00:00
OCA-git-bot
df44eba936 stock_request 12.0.1.1.1 2019-08-28 11:56:16 +00:00
OCA-git-bot
4dcdf0ee43 stock_request_submit 12.0.1.0.1 2019-08-28 11:56:14 +00:00
OCA-git-bot
fadbe7c51a stock_request_analytic 12.0.1.0.1 2019-08-28 11:56:12 +00:00
Guewen Baconnier
508519aa98 Use unique index for unique location name per zone
The python one was much too slow with large datasets. Here we only
check one level (only when the zone is directly assigned), the previous
SQL constraint was checking the locations of the same level only anyway.
2019-08-28 13:46:05 +02:00
hveficent
592eb6961b [FIX] stock_request_*: add expected_date implicit on tests to avoid errors 2019-08-28 10:42:29 +02:00
hveficent
39f7ab0e88 [FIX] stock_request: add expected_date implicit on tests to avoid errors 2019-08-28 09:30:54 +02:00
Guewen Baconnier
dd28e0e022 Replace SQL unique constraint by a python one
The new constraints prevents having 2 locations with the same name in
the same zone. The SQL UNIQUE constraint was blocking the installation
of some addons due to demo data creating, by default, some locations
with the same name for the warehouses' locations.

Alternative: we could create an INDEX UNIQUE (name, location_id) WHERE
picking_zone_id IS NOT NULL
But it depends if we want to check the whole tree or not.
2019-08-27 13:59:46 +02:00
Guewen Baconnier
00dd81476e fixup! Add corrections to stock_location_zone 2019-08-27 11:36:37 +02:00
Guewen Baconnier
545a8b4299 Add corrections to stock_location_zone
* Allow copy of stock locations (was blocked by constraint on unique name)
* Correct loop in _compute_name returning too early if a record had no
parent with a 'location_name_format'
* Rename field pick_type_id to picking_type_id for coherency
* Add missing _description on stock.picking.zone
* Correct location_name_format format when the record is a NewId
2019-08-27 11:22:50 +02:00