OCA / odoo-community.org

The Odoo Community Association Website
http://odoo-community.org
Creative Commons Attribution 4.0 International
91 stars 123 forks source link

Where put "Action" records? #31

Closed Tardo closed 4 years ago

Tardo commented 6 years ago

Where is the best place for "action" records? inside '_view/s?.xml' to have all related to one model in the same place? all in a separate actions.xml file? In the same .xml file that uses the action (for example menus.xml)? Where does one consider appropriate?

OCA Guidelines about "actions": https://github.com/OCA/odoo-community.org/blob/master/website/Contribution/CONTRIBUTING.rst#security-view-and-action

pedrobaeza commented 6 years ago

I usually place at the end of the view file, but no special guideline. Maybe we can normalize that.

Tardo commented 4 years ago

Who cares? closed!