Skip to content

Instantly share code, notes, and snippets.

@Guidoom
Guidoom / .csv
Created December 4, 2017 11:37
ir.model.access.csv
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
pyth_acusmata_disciple,The Acusmata - disciple,model_pyth_disciple,pythag_modulo_a.group_pyth_disciple,1,0,0,0
@Guidoom
Guidoom / xml
Created December 1, 2017 20:49
views/comm_help_view.xml
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
<!--TREE VIEW-->
<record id="view_commhelp_tree" model="ir.ui.view">
<field name="name">pyth.community.help.tree</field>
<field name="model">pyth.community.help</field>
<field name="arch" type="xml">
<tree>
<field name="name"/>
@Guidoom
Guidoom / xml
Created December 1, 2017 20:48
views/degree_view.xml
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
<!--TREE VIEW-->
<record id="view_degree_tree" model="ir.ui.view">
<field name="name">pyth.dsple.degree.tree</field>
<field name="model">pyth.dsple.degree</field>
<field name="arch" type="xml">
<tree>
<field name="name"/>
@Guidoom
Guidoom / gist:d5db0a76ce669b139271a528a8a2a27f
Last active October 30, 2024 10:05
Sample odoo.conf file
[options]
#
# WARNING:
# If you use the Odoo Database utility to change the master password be aware
# that the formatting of this file WILL be LOST! A copy of this file named
# /etc/odoo/openerp-server.conf.template has been made in case this happens
# Note that the copy does not have any first boot changes
#-----------------------------------------------------------------------------
# Odoo Server Config File - TurnKey Linux