From 5354c1633cd290dce623b226108ca3ce168b4e00 Mon Sep 17 00:00:00 2001 From: Ajmal JK Date: Sat, 1 Feb 2020 09:52:11 +0530 Subject: [PATCH] [FIX] Bug Fixed 'fleet_car_workshop' --- fleet_car_workshop/__manifest__.py | 2 +- fleet_car_workshop/__manifest__.py~ | 54 ----------------------- fleet_car_workshop/models/car_workshop.py | 2 +- 3 files changed, 2 insertions(+), 56 deletions(-) delete mode 100644 fleet_car_workshop/__manifest__.py~ diff --git a/fleet_car_workshop/__manifest__.py b/fleet_car_workshop/__manifest__.py index 9d342a219..7d85b7363 100644 --- a/fleet_car_workshop/__manifest__.py +++ b/fleet_car_workshop/__manifest__.py @@ -19,7 +19,7 @@ ############################################################################## { 'name': 'Car Workshop', - 'version': '10.0.1.0.0', + 'version': '10.0.1.0.1', 'summary': 'Complete Vehicle Workshop Operations & Reports', 'description': 'Vehicle workshop operations & Its reports', 'category': 'Industries', diff --git a/fleet_car_workshop/__manifest__.py~ b/fleet_car_workshop/__manifest__.py~ deleted file mode 100644 index de55dc7ec..000000000 --- a/fleet_car_workshop/__manifest__.py~ +++ /dev/null @@ -1,54 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################## -# -# Cybrosys Technologies Pvt. Ltd. -# Copyright (C) 2017-TODAY Cybrosys Technologies(). -# Author: Nilmar Shereef() -# you can modify it under the terms of the GNU LESSER -# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. -# -# It is forbidden to publish, distribute, sublicense, or sell copies -# of the Software or modified copies of the Software. -# -# 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. -# -# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE -# GENERAL PUBLIC LICENSE (LGPL v3) along with this program. -# If not, see . -# -############################################################################## -{ - 'name': 'Car Workshop', - 'version': '10.0.1.0.0', - 'summary': 'Complete Vehicle Workshop Operations & Reports', - 'description': 'Vehicle workshop operations & Its reports', - 'category': 'Industries', - 'author': 'Cybrosys Techno Solutions', - 'website': "https://www.cybrosys.com", - 'company': 'Cybrosys Techno Solutions', - 'depends': [ - 'base', - 'fleet', - 'account_accountant', - ], - 'data': [ - 'views/worksheet_views.xml', - 'views/car_dashboard.xml', - 'views/timesheet_view.xml', - 'views/worksheet_stages.xml', - 'views/vehicle.xml', - 'views/report.xml', - 'views/config_setting.xml', - 'views/workshop_data.xml', - 'security/workshop_security.xml', - 'security/ir.model.access.csv', - ], - 'images': ['static/description/banner.jpg'], - 'license': 'AGPL-3', - 'installable': True, - 'auto_install': False, - 'application': True, -} diff --git a/fleet_car_workshop/models/car_workshop.py b/fleet_car_workshop/models/car_workshop.py index 5a6756425..c110ae72e 100644 --- a/fleet_car_workshop/models/car_workshop.py +++ b/fleet_car_workshop/models/car_workshop.py @@ -131,7 +131,7 @@ class CarWorkshop(models.Model): inv_data = { 'name': customer.name, 'reference': customer.name, - 'account_id': customer.property_account_payable_id.id, + 'account_id': customer.property_account_receivable_id.id, 'partner_id': customer.id, 'currency_id': currency_value, 'journal_id': journal_id,