diff --git a/mobile_service_shop/__manifest__.py b/mobile_service_shop/__manifest__.py index 8b7f3ff20..12c771fdd 100644 --- a/mobile_service_shop/__manifest__.py +++ b/mobile_service_shop/__manifest__.py @@ -7,12 +7,12 @@ # Author: Milind Mohan @ Cybrosys, (odoo@cybrosys.com) # Mohammed Shahil M P @ Cybrosys, (odoo@cybrosys.com) # You can modify it under the terms of the GNU AFFERO -# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. # # You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE # (AGPL v3) along with this program. @@ -21,7 +21,7 @@ ############################################################################# { 'name': 'Mobile Service Management', - 'version': '13.0.1.0.0', + 'version': '13.0.1.0.1', 'summary': 'Module for managing mobile service shop daily activities.', 'category': 'Industries', 'author': 'Cybrosys Techno Solutions', diff --git a/mobile_service_shop/doc/RELEASE_NOTES.md b/mobile_service_shop/doc/RELEASE_NOTES.md index c5459858f..1918c0523 100755 --- a/mobile_service_shop/doc/RELEASE_NOTES.md +++ b/mobile_service_shop/doc/RELEASE_NOTES.md @@ -5,3 +5,9 @@ #### ADD Initial Commit. + +#### 09.12.2019 +#### Version 13.0.1.0.1 +#### FIX + +Bug Fixed. diff --git a/mobile_service_shop/wizard/mobile_create_invoice.py b/mobile_service_shop/wizard/mobile_create_invoice.py index a89ee39fd..19aa88b9b 100644 --- a/mobile_service_shop/wizard/mobile_create_invoice.py +++ b/mobile_service_shop/wizard/mobile_create_invoice.py @@ -33,16 +33,6 @@ class MobileServiceInvoice(models.Model): amount = fields.Integer(string='Amount') number = fields.Char(string='Service Id') - @api.model - def create(self, vals): - print(vals) - if 'amount' in vals: - vals['name'] = self.env['ir.sequence'].next_by_code('account.payment.customer.invoice') or _('New') - else: - vals['name'] = self.env['ir.sequence'].next_by_code('account.payment.customer.invoice') or _('New') - vals['service_state'] = 'draft' - return super(MobileServiceInvoice, self).create(vals) - def action_invoice_create(self): active_id = self._context.get('active_id') service_id = self.env['mobile.service'].search([('id', '=', active_id)])