JayVora-SerpentCS / OdooHotelManagementSystem

Hotel Management System based on Odoo
http://www.serpentcs.com
216 stars 247 forks source link

Duration in Days in set with '0' when save record #114

Closed Vishal-Mak closed 7 years ago

Vishal-Mak commented 7 years ago

Hello, Create New Folio, filled required fields, 'Duration in Days' is calculated as per date range but when save record, Duration in Days set with '0' value.

Reason : If duration field is calculated and its property is readonly=True then odoo will not store value in database.

JayVora-SerpentCS commented 7 years ago

115 fixed it, thanks.