Códigos
Para colocar plantillas que no ayuden a entender Odoo
3
Topics
3
Posts
0
Followers
Marlon (Admin) posted Feb 21 at 5:08 am
Aqui les dejo la forma de filtrar campos en una vista tree

<record id=".............." model="ir.actions.act_window" >

<field name="name">.............</field>

<field name="res_model">.................</field>

<field name="view_type">form</field>

<field name="context">{'group_by':'employee_id'}</field>

<field name="view_mode">t
0replies
41views
Aquí le dejo la estructura típica de un módulo de la versión 9.0

init.py

# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.

import mfhhelloworld
openerp.py

# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.

{
'name': 'Modulo Hola Mundo',
'version': '1.0
0replies
136views
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft