Commit Graph

966 Commits

Author SHA1 Message Date
Nicolas Mac Rouillon
44b8105a4e [FIX] stock_orderpoint_generator: fix a bug when iterate the data with call create (#466) 2019-12-16 10:01:26 +01:00
OCA Transbot
3bd2202e63 [UPD] Update stock_orderpoint_generator.pot 2019-12-16 10:01:26 +01:00
mreficent
9b55284f03 [FIX] stock_orderpoint_generator (fields don't exist) 2019-12-16 10:01:26 +01:00
OCA Transbot
740c2e5518 OCA Transbot updated translations from Transifex 2019-12-16 10:01:26 +01:00
Guewen Baconnier
079bfe934e [IMP] stock_orderpoint_generator: Add Automatic Reordering Rules (#258)
And improve the wording

* Add an option to automatically generate rules

When a product variant is created with a (or several) rule template(s), it
automatically generates (on the fly) the corresponding rule(s). When a rule template
is modified, it automatically updates the existing rules of the linked
products (it uses the mechanism in place, disable the old and create a
fresh one). The latter update is done by a cron because it might take a
long time to update all the products reordering rules.

* Add documentation

* Copy orderpoint views to orderpoint templates

Unfortunately we cannot rely on the possibility to copy a view with
"inherit_id" + "mode=primary" in Odoo 9.0 in this use case (precisely
with a model that is a "copy by prototype").

The explanation:

We "copy by prototype" the model "stock.warehouse.orderpoint" to a new
"stock.warehouse.orderpoint.template" model (with both _inherit and
different _name). Before this commit, we were reusing the
stock.warehouse.orderpoint's views, just making the changes needed for
the templates. Thing is: when a third (unrelated) addon adds a column on
the model, the ORM doesn't add the column in the
stock.warehouse.orderpoint.template model. So the templates' views
complains about this unexisting field.

Therefore, copy-pasting the view ensure that changes on
'stock.warehouse.orderpoint' does not have any side effect on the
templates.

From Odoo 10.0, the "copy by prototype" reports the changes made on the
"prototype" model to the "copy" so we should be able to revert to the
"inherit_id" + "mode=primary" views.
2019-12-16 10:01:25 +01:00
OCA Transbot
0a49ea6954 OCA Transbot updated translations from Transifex 2019-12-16 10:01:25 +01:00
Cyril Gaudin
97b7e12c30 stock_orderpoint_generator: Migration V9 2019-12-16 10:01:25 +01:00
OCA Transbot
b63a1ac73b 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_move_location
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-12-0/stock-logistics-warehouse-12-0-stock_move_location/
2019-12-09 13:44:52 +00:00
OCA-git-bot
cd34135a3e stock_move_location 12.0.1.2.0 2019-12-09 13:43:49 +00:00
OCA-git-bot
7d8660e76a [UPD] README.rst 2019-12-09 13:43:48 +00:00
oca-travis
ec2818463f [UPD] Update stock_move_location.pot 2019-12-09 12:56:40 +00:00
OCA-git-bot
eada10748d Merge PR #755 into 12.0
Signed-off-by lreficent
2019-12-09 12:47:36 +00:00
Joan Sisquella
ac422a62d0 [11.0][FIX] stock_move_location:
* fix test as per migration
* fix inconsistency in reserved quantity for planned transfers
2019-12-09 12:58:58 +01:00
Lois Rilo
cd32b329a8 [11.0][IMP] stock_move_location:
* fix tests as per latest changes
* extend test as per latest changes
* add little help in technical fields
2019-12-09 11:00:16 +01:00
Jordi Ballester Alomar
7fff921c53 display picking type in move location wizard, and get a default value 2019-12-09 10:58:08 +01:00
Lois Rilo
08d6af3f50 [11.0] stock_move_location: add small margin between buttons,
done inline because the same margin is defined in  style files
for account dashboard, however I don't want to apply the
account_kanban class here as it would have more effects.
2019-12-09 10:56:30 +01:00
Jordi Ballester Alomar
39b2b38ad3 in planned transfers do not set the qty_done in move lines 2019-12-09 10:56:17 +01:00
Jordi Ballester Alomar
6975f6c600 This commit introduces changes to stock_move_location:
- The ability to start the wizard from a picking type in the inventory dasbhoard
- A toggle to edit the origin and destination locations.
2019-12-09 10:45:10 +01:00
OCA Transbot
0987cac878 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_request_submit
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-12-0/stock-logistics-warehouse-12-0-stock_request_submit/
2019-12-02 16:39:19 +00:00
OCA Transbot
d3019b9793 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_request
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-12-0/stock-logistics-warehouse-12-0-stock_request/
2019-12-02 16:38:56 +00:00
OCA-git-bot
09a88a57b3 stock_request 12.0.1.1.6 2019-12-02 16:38:41 +00:00
OCA-git-bot
41481044ce stock_request_submit 12.0.1.0.2 2019-12-02 16:38:40 +00:00
oca-travis
63a56c27be [UPD] Update stock_request_submit.pot 2019-12-02 15:54:14 +00:00
oca-travis
7dd9d0f608 [UPD] Update stock_request.pot 2019-12-02 15:54:09 +00:00
OCA-git-bot
a364c05975 Merge PR #780 into 12.0
Signed-off-by lreficent
2019-12-02 15:46:04 +00:00
Maxime Chambreuil
48b0dc8222 [FIX] stock_request_submit 2019-11-30 12:49:57 +05:30
Maxime Chambreuil
514fb4ef66 [FIX] stock_request 2019-11-29 11:11:35 -06:00
OCA-git-bot
2f0baa2a56 stock_mts_mto_rule 12.0.1.0.1 2019-11-28 08:44:40 +00:00
OCA-git-bot
4e1b3c00d3 Merge PR #767 into 12.0
Signed-off-by rousseldenis
2019-11-28 08:14:54 +00:00
Galoperd
835abcaab4 Translated using Weblate (Spanish)
Currently translated at 100.0% (13 of 13 strings)

Translation: stock-logistics-warehouse-12.0/stock-logistics-warehouse-12.0-stock_available_unreserved
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-12-0/stock-logistics-warehouse-12-0-stock_available_unreserved/es/
2019-11-26 20:14:46 +00:00
Rodrigo Macedo
1389db39dd Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (5 of 5 strings)

Translation: stock-logistics-warehouse-12.0/stock-logistics-warehouse-12.0-stock_inventory_lockdown
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-12-0/stock-logistics-warehouse-12-0-stock_inventory_lockdown/pt_BR/
2019-11-24 19:58:13 +00:00
Rodrigo Macedo
832a32e933 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_inventory_preparation_filter
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-12-0/stock-logistics-warehouse-12-0-stock_inventory_preparation_filter/pt_BR/
2019-11-24 19:58:12 +00:00
Rodrigo Macedo
d82434b78e Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (8 of 8 strings)

Translation: stock-logistics-warehouse-12.0/stock-logistics-warehouse-12.0-stock_warehouse_orderpoint_stock_info
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-12-0/stock-logistics-warehouse-12-0-stock_warehouse_orderpoint_stock_info/pt_BR/
2019-11-24 19:58:12 +00:00
Andrii Skrypka
39fdde969c [FIX] stock_mts_mto_rule: add mts_rule_id and mto_rule_id on stock rule form view 2019-11-22 15:33:32 +02:00
OCA-git-bot
04a4cc2d96 stock_request_purchase 12.0.1.1.2 2019-11-20 15:08:03 +00:00
OCA-git-bot
023dcda0eb Merge PR #757 into 12.0
Signed-off-by lreficent
2019-11-20 13:04:18 +00:00
OCA-git-bot
58ab4726fe [ADD] .editorconfig [ci skip] 2019-11-19 21:15:36 +01:00
OCA-git-bot
645559a00e stock_request 12.0.1.1.5 2019-11-15 19:01:38 +00:00
OCA-git-bot
1f252ef288 Merge PR #761 into 12.0
Signed-off-by lreficent
2019-11-15 18:23:25 +00:00
Lois Rilo
a913e4b23a [12.0][IMP] stock_request: adapt icon to new style 2019-11-15 19:03:30 +01:00
Lois Rilo
a449429e75 [11.0][IMP] stock_request: new icon
Change icon to avoid misunderstanding with purchase_request which
until now had the same icon.
2019-11-15 18:16:30 +01:00
OCA-git-bot
6257120b54 Merge PR #758 into 12.0
Signed-off-by pedrobaeza
2019-11-14 16:11:11 +00:00
Sergio Teruel
d235670847 [IMP] stock_cycle_count: Create test user without password to pass tests with other modules like password_policy 2019-11-14 15:34:14 +01:00
OCA Transbot
0f39fa3219 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_move_location
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-12-0/stock-logistics-warehouse-12-0-stock_move_location/
2019-11-13 12:34:57 +00:00
OCA-git-bot
b4bedd94ec stock_secondary_unit 12.0.1.0.2 2019-11-13 12:34:12 +00:00
Jaime Arroyo
e9307c7a62 [12.0][FIX] Stock Request Order purchase button fix 2019-11-13 12:59:47 +01:00
OCA-git-bot
ee4f71d93f Merge PR #753 into 12.0
Signed-off-by pedrobaeza
2019-11-13 10:25:13 +00:00
Enrique
223f37ebe0 [12.0][FIX] stock_secondary_unit: move line create round
On move line creation, the precision of secondary qty rounding is wrong; the unit of measure factor is being used instead of rounding.
2019-11-13 10:59:39 +01:00
OCA-git-bot
6ec0a5cdf2 [ADD] setup.py 2019-11-11 17:08:09 +00:00
OCA-git-bot
dd3a7c5990 [UPD] README.rst 2019-11-11 17:08:09 +00:00