Commit Graph

519 Commits

Author SHA1 Message Date
Ivàn Todorovich
4d5ebbaea2 [IMP] mrp_bom_attribute_match: drop the 'account' dependency
There isn't any reson to depend on it.
2022-10-31 08:14:04 -03:00
Ivàn Todorovich
5dde8e261e [IMP] mrp_bom_attribute_match: use constraints and computed fields
Instead of updates triggered by onchanges or writes, use constraints
to execute all checks, and a computed field for `match_on_attribute_ids`
2022-10-31 08:14:03 -03:00
Ivàn Todorovich
30a41e1711 [IMP] mrp_bom_attribute_match: Drop the web_field_domain dependency.
The same result can be achieved with a computed field.
Moreover, we have one already in odoo core. Originally it was a related
field, but we can change it to a computed and add our extra logic there.
2022-10-27 16:42:33 -03:00
Ivàn Todorovich
ce303be6d7 [IMP] mrp_bom_attribute_match: make private methods, private
These methods shouldn't be exposed to xmlrpc.
2022-10-26 14:49:45 -03:00
Ivàn Todorovich
3e4a5ed007 [FIX] mrp_bom_attribute_match: write products recordset
The check expects a single record, so it should be processed accordingly.
2022-10-26 14:49:44 -03:00
Ivàn Todorovich
4ab379ec75 [IMP] mrp_bom_attribute_match: assert exception messages 2022-10-26 14:49:44 -03:00
Ivàn Todorovich
6e0daadbde [FIX] mrp_bom_attribute_match: properly translate strings 2022-10-26 14:49:44 -03:00
Ivàn Todorovich
685370373e [MIG] mrp_bom_attribute_match: Migration to 15.0
Notes:

* `_get_product2bom` renamed to `_bom_find`
* Test case `test_manufacturing_order_2`:
  * No longer check for "Add some materials to consume before marking this MO as to do.",
    as it's already supported in core since https://github.com/odoo/odoo/commit/bf5e1debf
2022-10-26 14:49:43 -03:00
Ivàn Todorovich
634d32465f [IMP] mrp_bom_attribute_match: pre-commit execution 2022-10-26 14:49:43 -03:00
Ilyas
b72c4daca0 [14.0][FIX] bom_attribute_match: BOM unit of measure should match uom of a component_template_id. 2022-10-26 14:49:43 -03:00
Francesco Foresti
f5a1a2f11c Translated using Weblate (Italian)
Currently translated at 100.0% (16 of 16 strings)

Translation: manufacture-14.0/manufacture-14.0-mrp_bom_attribute_match
Translate-URL: https://translation.odoo-community.org/projects/manufacture-14-0/manufacture-14-0-mrp_bom_attribute_match/it/
2022-10-26 14:49:41 -03:00
Bole
9dba64bb64 Translated using Weblate (Croatian)
Currently translated at 83.3% (15 of 18 strings)

Translation: manufacture-14.0/manufacture-14.0-mrp_bom_attribute_match
Translate-URL: https://translation.odoo-community.org/projects/manufacture-14-0/manufacture-14-0-mrp_bom_attribute_match/hr/
2022-10-26 14:49:40 -03:00
Bole
334869c380 Added translation using Weblate (Croatian) 2022-10-26 14:49:40 -03:00
Ilyas
c66253cb91 [14.0][ADD] mrp_bom_attribute_match 2022-10-26 14:49:39 -03:00
OCA-git-bot
bd2b0cd6fa [UPD] addons table in README.md 2022-10-25 13:40:11 +00:00
OCA-git-bot
b690d08319 mrp_multi_level 15.0.1.7.0 2022-10-25 13:39:57 +00:00
OCA-git-bot
0c6ffeae6c Merge PR #885 into 15.0
Signed-off-by LoisRForgeFlow
2022-10-25 13:36:12 +00:00
Bernat Puig Font
ac59aa1afe [FIX] mrp_multi_level: Delete product 4d from demo data 2022-10-25 15:17:51 +02:00
OCA-git-bot
4c0c146946 [UPD] addons table in README.md 2022-10-18 10:15:49 +00:00
OCA-git-bot
a0ea74ae9e mrp_multi_level 15.0.1.6.0 2022-10-18 10:15:43 +00:00
OCA-git-bot
6c20fa84f5 Merge PR #876 into 15.0
Signed-off-by LoisRForgeFlow
2022-10-18 10:11:32 +00:00
Lois Rilo
6f6ac94feb [IMP] mrp_multi_level: avoid recursion on LLC calculation.
Introduce a safe and configurable LLC depth limit to avoid infinite
recursion.

Also, improve extensibility of BoM finding and fix it to not
consider archived BoMs.
2022-10-17 17:34:21 +02:00
OCA-git-bot
3eb165882b [UPD] addons table in README.md 2022-10-03 10:11:20 +00:00
OCA-git-bot
ae9c4d83f0 mrp_progress_button 15.0.2.0.0 2022-10-03 10:11:15 +00:00
OCA-git-bot
3a786138a9 Merge PR #852 into 15.0
Signed-off-by LoisRForgeFlow
2022-10-03 10:07:25 +00:00
OCA-git-bot
f97ee3cb9c Merge PR #866 into 15.0
Signed-off-by dreispt
2022-10-02 15:31:04 +00:00
Daniel Reis
5784dfa001 [REF] Update dotfiles 2022-10-02 16:26:03 +01:00
OCA-git-bot
b24bc94a99 [UPD] addons table in README.md 2022-09-30 10:56:23 +00:00
OCA-git-bot
0b9059e1f1 mrp_multi_level 15.0.1.5.1 2022-09-30 10:56:18 +00:00
OCA-git-bot
755374f14c Merge PR #864 into 15.0
Signed-off-by LoisRForgeFlow
2022-09-30 10:52:52 +00:00
Bernat Puig Font
1f985df858 [FIX] mrp_multi_level: Descriptive order number in MRP Moves 2022-09-30 11:51:19 +02:00
OCA Transbot
037a34c19b Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: manufacture-15.0/manufacture-15.0-mrp_multi_level
Translate-URL: https://translation.odoo-community.org/projects/manufacture-15-0/manufacture-15-0-mrp_multi_level/
2022-09-23 11:46:59 +00:00
OCA-git-bot
abeb0c6be9 [UPD] addons table in README.md 2022-09-23 11:46:46 +00:00
OCA-git-bot
b35c3c7a61 mrp_multi_level 15.0.1.5.0 2022-09-23 11:46:40 +00:00
oca-ci
88f5784313 [UPD] Update mrp_multi_level.pot 2022-09-23 11:43:16 +00:00
OCA-git-bot
c24817055b Merge PR #851 into 15.0
Signed-off-by LoisRForgeFlow
2022-09-23 11:39:48 +00:00
Bernat Puig Font
1403cd378e [FIX] mrp_multi_level: Manage Kits in MRP Multi Level 2022-09-20 09:26:08 +02:00
OCA-git-bot
301326740d [UPD] addons table in README.md 2022-09-16 12:01:26 +00:00
OCA-git-bot
aa07bf99d1 mrp_multi_level 15.0.1.4.2 2022-09-16 12:01:21 +00:00
OCA-git-bot
e84f7ef92e Merge PR #856 into 15.0
Signed-off-by LoisRForgeFlow
2022-09-16 11:58:15 +00:00
Bernat Puig Font
078094e217 [FIX] mrp_multi_level: Recompute main supplier in MRP Parameter if we change MRP Area 2022-09-16 13:41:48 +02:00
Lois Rilo
14088614da [FIX] mrp_multi_level: do not include supplies on origin.
Planned orders' origin when groupping was including supplies
which could lead to confusion.
2022-09-16 13:41:32 +02:00
OCA-git-bot
3fad745b42 [ADD] setup.py 2022-09-16 08:41:17 +00:00
OCA-git-bot
a03e15844e [UPD] README.rst 2022-09-16 08:41:16 +00:00
OCA-git-bot
f8a8dc7526 [UPD] addons table in README.md 2022-09-16 08:41:13 +00:00
oca-ci
8931eee3d3 [UPD] Update mrp_production_grouped_by_product.pot 2022-09-16 08:37:42 +00:00
OCA-git-bot
48e31329a8 Merge PR #849 into 15.0
Signed-off-by LoisRForgeFlow
2022-09-16 08:34:50 +00:00
Bernat Puig Font
b389124ce3 [FIX] mrp_progress_button: Handle state with its compute function 2022-09-15 10:47:32 +02:00
punt-sistemes-salva
9e1c7489e4 [MIG] mrp_production_grouped_by_product: Migration to 15.0 2022-09-12 09:54:30 +02:00
OCA-git-bot
448fd07a74 mrp_production_grouped_by_product 14.0.1.0.2 2022-09-12 09:45:16 +02:00