Browse Source

[FIX] Bug Fixed 'fleet_rental'

pull/145/head
Ajmal JK 5 years ago
parent
commit
d44bd1bfff
  1. 2
      fleet_rental/__manifest__.py
  2. 1
      fleet_rental/models/car_rental.py

2
fleet_rental/__manifest__.py

@ -22,7 +22,7 @@
{ {
'name': 'Fleet Rental Management', 'name': 'Fleet Rental Management',
'version': '13.0.1.1.0', 'version': '13.0.1.1.1',
'summary': """This module will helps you to give the vehicles for Rent.""", 'summary': """This module will helps you to give the vehicles for Rent.""",
'description': "Module Helps You To Manage Rental Contracts, Odoo13, Odoo 13, Fleet, Rental, Rent, Vehicle management", 'description': "Module Helps You To Manage Rental Contracts, Odoo13, Odoo 13, Fleet, Rental, Rent, Vehicle management",
'category': "Industries", 'category': "Industries",

1
fleet_rental/models/car_rental.py

@ -182,7 +182,6 @@ class CarRentalContract(models.Model):
end_date = datetime.strptime(self.rent_end_date, '%Y-%m-%d').date() end_date = datetime.strptime(self.rent_end_date, '%Y-%m-%d').date()
supplier = self.customer_id supplier = self.customer_id
inv_data = { inv_data = {
'name': supplier.name,
'ref': supplier.name, 'ref': supplier.name,
# 'account_id': supplier.property_account_payable_id.id, # 'account_id': supplier.property_account_payable_id.id,
'partner_id': supplier.id, 'partner_id': supplier.id,

Loading…
Cancel
Save