Initial commit: Mrp packages

This commit is contained in:
Ernad Husremovic 2025-08-29 15:20:50 +02:00
commit 50d736b3bd
739 changed files with 538193 additions and 0 deletions

View file

@ -0,0 +1,21 @@
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
{
'name': 'MRP Subcontracting Repair',
'version': '1.0',
'category': 'Manufacturing/Repair',
'description': """
Bridge module between MRP subcontracting and Repair
""",
'depends': [
'mrp_subcontracting', 'repair'
],
'data': [
'security/ir.model.access.csv',
'security/mrp_subcontracting_repair_security.xml',
],
'installable': True,
'auto_install': True,
'license': 'LGPL-3',
}

View file

@ -0,0 +1,15 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-02-06 13:32+0000\n"
"PO-Revision-Date: 2024-02-06 13:32+0000\n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

View file

@ -0,0 +1,2 @@
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
access_subcontracting_portal_repair_line,subcontracting.portal.repair_line,repair.model_repair_line,base.group_portal,1,0,0,0
1 id name model_id:id group_id:id perm_read perm_write perm_create perm_unlink
2 access_subcontracting_portal_repair_line subcontracting.portal.repair_line repair.model_repair_line base.group_portal 1 0 0 0

View file

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="repair_line_subcontracting_rule" model="ir.rule">
<field name="name">Repair Line Subcontractor</field>
<field name="model_id" ref="repair.model_repair_line"/>
<field name="domain_force">[
'|',
'|',
('product_id', 'in', user.partner_id.bom_ids.product_id.ids),
('product_id', 'in', user.partner_id.bom_ids.product_tmpl_id.product_variant_ids.ids),
('product_id', 'in', user.partner_id.bom_ids.bom_line_ids.product_id.ids),
]</field>
<field name="groups" eval="[(4, ref('base.group_portal'))]"/>
</record>
</odoo>