mirror of
https://github.com/OCA/report-print-send.git
synced 2025-02-16 07:11:31 +02:00
[FIX] Encoding and copyrights
This commit is contained in:
committed by
Lois Rilo
parent
2f9de1f5f6
commit
6d1d31907e
@@ -1,3 +1,4 @@
|
||||
# Copyright (C) 2018 Florent Mirieu (<https://github.com/fmdl>)
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
||||
|
||||
from odoo.tests.common import TransactionCase
|
||||
|
||||
@@ -45,13 +45,13 @@ class TestPrintingLabelZpl2(TransactionCase):
|
||||
|
||||
def new_label(self, vals=None):
|
||||
values = self.label_vals.copy()
|
||||
if vals is not None:
|
||||
if vals:
|
||||
values.update(vals)
|
||||
return self.Model.create(values)
|
||||
|
||||
def new_component(self, vals=None):
|
||||
values = self.component_vals.copy()
|
||||
if vals is not None:
|
||||
if vals:
|
||||
values.update(vals)
|
||||
return self.ComponentModel.create(values)
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
# Copyright (C) 2018 Florent Mirieu (<https://github.com/fmdl>)
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
||||
import mock
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
# Copyright (C) 2018 Florent Mirieu (<https://github.com/fmdl>)
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
||||
|
||||
from odoo.tests.common import TransactionCase
|
||||
|
||||
Reference in New Issue
Block a user