Hi,
I'm working on account assets in Odoo 11 and I created an asset with the below information:
Computation Method : Linear
Time Method Based On : Number of Entries
Prorata Temporis : True
Number of Depreciations : 48
Number of Months in a Period: 1
When I save the record, the Depreciations created is 49 not 48
I checked the code and I found the below method increased number of Depreciations by 1 if Prorata Temporis equal True and I don't know why they do that? 
Any one know why they do that?
def _compute_board_undone_dotation_nb(self, depreciation_date, total_days):
undone_dotation_number = self.method_number
if self.method_time == 'end':
end_date = datetime.strptime(self.method_end, DF).date()
undone_dotation_number = 0
while depreciation_date <= end_date:
depreciation_date = date(depreciation_date.year, depreciation_date.month, depreciation_date.day) + relativedelta(months=+self.method_period)
undone_dotation_number += 1
if self.prorata:
undone_dotation_number += 1
return undone_dotation_number
