Commit Graph

1232 Commits

Author SHA1 Message Date
Cas Vissers
cfad9e017d [FIX] Fix singleton 2023-02-01 15:47:59 +01:00
cubells
9204feed8b [MIG] stock_orderpoint_generator: Migration to 11.0 2023-02-01 15:47:59 +01:00
Nicolas Mac Rouillon
e18a17923a [FIX] stock_orderpoint_generator: fix a bug when iterate the data with call create (#466) 2023-02-01 15:47:59 +01:00
mreficent
c033668adc [FIX] stock_orderpoint_generator (fields don't exist) 2023-02-01 15:47:59 +01:00
Guewen Baconnier
dd3d04b2ee [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.
2023-02-01 15:47:59 +01:00
Cyril Gaudin
08d3b93f7d stock_orderpoint_generator: Migration V9 2023-02-01 15:47:59 +01:00
OCA-git-bot
c6725c2138 [ADD] setup.py 2023-01-31 08:30:59 +00:00
OCA-git-bot
01b6a6e512 [UPD] README.rst 2023-01-31 08:30:58 +00:00
OCA-git-bot
e9ed1516ed [UPD] addons table in README.md 2023-01-31 08:30:54 +00:00
oca-ci
f628b2e511 [UPD] Update stock_request_mrp.pot 2023-01-31 08:26:09 +00:00
OCA-git-bot
e152943bff Merge PR #1469 into 15.0
Signed-off-by pedrobaeza
2023-01-31 08:20:12 +00:00
Pedro M. Baeza
966d148e19 Merge pull request #1624 from Tecnativa/15.0-copier
[15.0][FIX] Update copier template
2023-01-31 09:19:49 +01:00
Pedro M. Baeza
48424a9163 [FIX] Update copier template
To avoid the isort problem (PyCQA/isort#2077)
2023-01-31 09:03:33 +01:00
Francesco Foresti
64c3aad204 Translated using Weblate (Italian)
Currently translated at 100.0% (25 of 25 strings)

Translation: stock-logistics-warehouse-15.0/stock-logistics-warehouse-15.0-stock_change_qty_reason
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-15-0/stock-logistics-warehouse-15-0-stock_change_qty_reason/it/
2023-01-30 13:45:50 +00:00
Weblate
55833dc4c4 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: stock-logistics-warehouse-15.0/stock-logistics-warehouse-15.0-stock_request
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-15-0/stock-logistics-warehouse-15-0-stock_request/
2023-01-27 18:22:51 +00:00
OCA-git-bot
cc87d1cc58 [UPD] addons table in README.md 2023-01-27 18:22:00 +00:00
OCA-git-bot
6267bef8d7 stock_request 15.0.1.3.0 2023-01-27 18:21:51 +00:00
oca-ci
c105c1d142 [UPD] Update stock_request.pot 2023-01-27 18:16:10 +00:00
OCA-git-bot
1144c39b9a Merge PR #1622 into 15.0
Signed-off-by pedrobaeza
2023-01-27 18:12:06 +00:00
Víctor Martínez
23ae311597 [FIX] stock_request: Change state fields to display translated by language
TT41343
2023-01-27 08:06:30 +01:00
Weblate
c5b923ca4d Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: stock-logistics-warehouse-15.0/stock-logistics-warehouse-15.0-stock_request
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-15-0/stock-logistics-warehouse-15-0-stock_request/
2023-01-26 15:36:34 +00:00
OCA-git-bot
50a999ead1 [UPD] addons table in README.md 2023-01-26 15:36:17 +00:00
OCA-git-bot
e45648782a stock_request 15.0.1.2.0 2023-01-26 15:36:12 +00:00
oca-ci
2f8c9611d5 [UPD] Update stock_request.pot 2023-01-26 15:31:22 +00:00
OCA-git-bot
41862c2c2d Merge PR #1620 into 15.0
Signed-off-by pedrobaeza
2023-01-26 15:24:10 +00:00
Víctor Martínez
0f51b4f8f6 [IMP] stock_request: Change the label string to make it consistent
TT41343
2023-01-26 09:37:26 +01:00
OCA-git-bot
34df53dc86 [ADD] setup.py 2023-01-24 11:48:45 +00:00
OCA-git-bot
948c3f771a [ADD] icon.png 2023-01-24 11:48:44 +00:00
OCA-git-bot
29bb699511 [UPD] README.rst 2023-01-24 11:48:44 +00:00
OCA-git-bot
1f4d091936 [UPD] addons table in README.md 2023-01-24 11:48:40 +00:00
oca-ci
02aab0e7dc [UPD] Update stock_inventory.pot 2023-01-24 11:43:21 +00:00
OCA-git-bot
4cf65f140b Merge PR #1512 into 15.0
Signed-off-by LoisRForgeFlow
2023-01-24 11:38:41 +00:00
DavidJForgeFlow
c4a371959b [15.0][ADD] stock_inventory
[15.0][IMP] stock_inventory: add product selection and fixup
2023-01-24 12:33:09 +01:00
OCA-git-bot
b72b93b03d [ADD] setup.py 2023-01-23 13:19:42 +00:00
OCA-git-bot
c951ce0424 [UPD] README.rst 2023-01-23 13:19:41 +00:00
OCA-git-bot
8c9e085964 [UPD] addons table in README.md 2023-01-23 13:19:36 +00:00
oca-ci
272f92a981 [UPD] Update stock_quant_cost_info.pot 2023-01-23 13:15:18 +00:00
OCA-git-bot
700ac1396b Merge PR #1611 into 15.0
Signed-off-by pedrobaeza
2023-01-23 13:11:03 +00:00
OCA-git-bot
4eeb271cba [UPD] addons table in README.md 2023-01-19 16:40:46 +00:00
OCA-git-bot
2e149e8065 stock_move_location 15.0.1.1.0 2023-01-19 16:40:41 +00:00
OCA-git-bot
7f0998c1cc Merge PR #1596 into 15.0
Signed-off-by rousseldenis
2023-01-19 16:34:32 +00:00
OCA-git-bot
4968f45a87 [ADD] setup.py 2023-01-19 09:26:35 +00:00
OCA-git-bot
a519b5d2c4 [UPD] README.rst 2023-01-19 09:26:34 +00:00
OCA-git-bot
0847a5a387 [UPD] addons table in README.md 2023-01-19 09:26:30 +00:00
oca-ci
de0e78b15a [UPD] Update stock_change_qty_reason.pot 2023-01-19 09:21:53 +00:00
OCA-git-bot
9029dc9094 Merge PR #1608 into 15.0
Signed-off-by rousseldenis
2023-01-19 09:18:00 +00:00
Francesco Foresti
fd4f6d8762 Translated using Weblate (Italian)
Currently translated at 44.1% (15 of 34 strings)

Translation: stock-logistics-warehouse-15.0/stock-logistics-warehouse-15.0-stock_quant_manual_assign
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-15-0/stock-logistics-warehouse-15-0-stock_quant_manual_assign/it/
2023-01-18 13:46:44 +00:00
Miquel Raïch
51b9b0ea16 [MIG] stock_change_qty_reason: Migration to 15.0 2023-01-17 11:15:47 +01:00
GuillemCForgeFlow
06dfa70849 [IMP]stock_change_qty_reason: black, isort, prettier 2023-01-16 15:58:16 +01:00
mymage
a745cd5c2f Translated using Weblate (Italian)
Currently translated at 100.0% (25 of 25 strings)

Translation: stock-logistics-warehouse-14.0/stock-logistics-warehouse-14.0-stock_change_qty_reason
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-14-0/stock-logistics-warehouse-14-0-stock_change_qty_reason/it/
2023-01-16 15:58:16 +01:00