tayafoundry.blogg.se

Staruml io
Staruml io










staruml io

If the object is inherted from other Odoo object, create a attribute called _inherit This _name attribute is mandatory if you to inherit your Odoo object from another Object You may force you Odoo object name different from your UML class name by creating an attributed called _name on the class and set the name on _ defaultValue field, eg module.classname. Odoo object name is automatically generated based on "addonName" (namespace) and "className", eg "my_addon.my_object" Odoo object name is the class field called _name on Odoo ORM Indent Spaces: number of indent spaces on your python code.

staruml io

Use Tab: whether you want to use Tab character instead of spaces on your python indentation Installation Path: your python installation path (optional) ConfigurationĬlick Tools > Odoo > Configure to set your addon settingĪddon Name: is your addon folder name and act also as the namespace for your classesĭependecies: type your addon dependencies as comma separated string values, for example: "hr", "account", etc.ĭocstring: Yes or No to wether generate to documentation string on your class or not

staruml io

Below are the rules to convert from UML model elements to Odoo source codes.












Staruml io