OCA Transbot updated translations from Transifex

This commit is contained in:
OCA Transbot
2018-03-03 08:27:03 +01:00
committed by ps-tubtim
parent ae0cc74728
commit ff30003570
8 changed files with 89 additions and 9 deletions

View File

@@ -53,6 +53,7 @@ Contributors
* Pedro M. Baeza <pedro.baeza@serviciosbaeza.com>
* Ana Juaristi <anajuaristi@avanzosc.es>
* Bima Wijaya <bimajatiwijaya@gmail.com>
* Agung Rachmatullah <agung.rachmatullah@ymail.com>
Maintainer
----------

View File

@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# © 2015 Oihane Crucelaegui - AvanzOSC
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html

View File

@@ -1,10 +1,10 @@
# -*- coding: utf-8 -*-
# © 2015 Oihane Crucelaegui - AvanzOSC
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html
{
"name": "Notes in Bill of Materials",
"version": "10.0.1.0.0",
"version": "11.0.1.0.0",
"license": "AGPL-3",
"author": "OdooMRP team,"
"AvanzOSC,"
"Serv. Tecnol. Avanzados - Pedro M. Baeza, "

View File

@@ -4,13 +4,14 @@
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
# Bole <bole@dajmi5.com>, 2018
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-11-28 03:44+0000\n"
"PO-Revision-Date: 2017-11-28 03:44+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
"POT-Creation-Date: 2018-02-12 03:48+0000\n"
"PO-Revision-Date: 2018-02-12 03:48+0000\n"
"Last-Translator: Bole <bole@dajmi5.com>, 2018\n"
"Language-Team: Croatian (https://www.transifex.com/oca/teams/23907/hr/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
@@ -21,7 +22,7 @@ msgstr ""
#. module: mrp_bom_note
#: model:ir.model,name:mrp_bom_note.model_mrp_bom
msgid "Bill of Material"
msgstr ""
msgstr "Sastavnica"
#. module: mrp_bom_note
#: model:ir.model.fields,field_description:mrp_bom_note.field_mrp_bom_notes

View File

@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# © 2015 Oihane Crucelaegui - AvanzOSC
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html

View File

@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# © 2015 Oihane Crucelaegui - AvanzOSC
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html

View File

@@ -0,0 +1,4 @@
# © 2018 Agung Rachmatullah
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from . import test_mrp_bom_note

View File

@@ -0,0 +1,77 @@
# © 2018 Agung Rachmatullah
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from odoo.tests.common import TransactionCase
class TestMrpBomNote(TransactionCase):
def setUp(self):
super(TestMrpBomNote, self).setUp()
self.product_t = self.env['product.template']
self.product_p = self.env['product.product']
self.bom = self.env['mrp.bom']
def test_notes(self):
uom_unit = self.env.ref('product.product_uom_unit')
product_t_fg = self.product_t.create({
'name': 'Chair',
'type': 'product',
'uom_id': uom_unit.id,
'uom_po_id': uom_unit.id,
})
product_t_1 = self.product_t.create({
'name': 'Log 1',
'type': 'product',
'uom_id': uom_unit.id,
'uom_po_id': uom_unit.id,
})
product_t_2 = self.product_t.create({
'name': 'Log 2',
'type': 'product',
'uom_id': uom_unit.id,
'uom_po_id': uom_unit.id,
})
product_t_3 = self.product_t.create({
'name': 'Log 3',
'type': 'product',
'uom_id': uom_unit.id,
'uom_po_id': uom_unit.id,
})
product_fg = self.product_p.create({
'product_tmpl_id': product_t_fg.id
})
product_1 = self.product_p.create({
'product_tmpl_id': product_t_1.id
})
product_2 = self.product_p.create({
'product_tmpl_id': product_t_2.id
})
product_3 = self.product_p.create({
'product_tmpl_id': product_t_3.id
})
BoM1 = self.bom.create({
'product_id': product_fg.id,
'product_tmpl_id': product_fg.product_tmpl_id.id,
'product_uom_id': uom_unit.id,
'product_qty': 1.0,
'type': 'normal',
'move_raw_ids': [
(0, 0, {
'product_id': product_1.id,
'product_qty': 4,
}),
(0, 0, {
'product_id': product_2.id,
'product_qty': 2,
}),
(0, 0, {
'product_id': product_3.id,
'product_qty': 2,
})
]
})
BoM1.write({
'notes': '<p>Test</p>'
})
self.assertEqual(BoM1.notes, '<p>Test</p>')