Daily updates from Odoo
Wednesday, December 7, 2016
1 change
Code cleanup and technical improvements
Odoo will now generate clearer default labels for relationship fields by removing technical suffixes like “id” and “ids.” This makes automatically created screens and labels easier for users to read, with plural labels handled more naturally where needed.
Original PR description
Description of the issue/feature this PR addresses: Remove `_id` and `_ids` to field label string based on technical name. Current behaviour before PR: ``` python partner_id = fields.Many2one() # Default string: "Partner Id" partner_ids = fields.One2many() # Default string: "Partner Ids" ``` Desired behaviour after PR is merged: ``` python partner_id = fields.Many2one() # Default string: "Partner" partner_ids = fields.One2many() # Default string: "Partners" ```