I need to change the name of the "Product name" field to "Description" of the products template in odoo v13. I don't want to do that name change from the odoo interface, but from a custom addon. And if it is possible to change the characteristics of the existing field from the custom addon.
Odoo is the world's easiest all-in-one management software.
 It includes hundreds of business apps:
- CRM
- e-Commerce
- Boekhouding
- Voorraad
- PoS
- Project
- MRP
Deze vraag is gerapporteerd
            
                1
                
                    Beantwoorden
                
            
        
        
            
                4877
                
                    Weergaven
                
            
        
    You can change the string attribute using a custom module you may use the below code for reference:
<xpath expr="//field[@name='reference_filed']" position="attributes">
<attribute name="string">Your String Here</attribute>
</xpath>
. You may override the field as below:
class YourModel(models.Model):
_inherit = 'your.model'
reference_filed = fields.FieldType(string="Your String Here")
Geniet je van het gesprek? Blijf niet alleen lezen, doe ook mee!
Maak vandaag nog een account aan om te profiteren van exclusieve functies en deel uit te maken van onze geweldige community!
Aanmelden| Gerelateerde posts | Antwoorden | Weergaven | Activiteit | |
|---|---|---|---|---|
| 
            
                Multiple Product Edit in Inventory
            
            
                    Opgelost
            
         |  | 1 mei 24  | 1515 | |
|  | 1 jun. 21  | 3267 | ||
|  | 1 apr. 21  | 2440 | ||
|  | 0 dec. 19  | 5801 | ||
|  | 1 nov. 19  | 4458 | 
