added activity module

This module implements the activity model. The model will be used in payroll and timesheet modules to identify what an employee did in a worked day or a timesheet record (he worked on a job position or took leave).
Done!

----- Mail original -----
De: "max3903" <notifications@github.com>
À: "OCA/hr" <hr@noreply.github.com>
Cc: "David Dufresne" <david.dufresne@savoirfairelinux.com>
Envoyé: Mercredi 12 Novembre 2014 09:21:24
Objet: Re: [hr] added activity module (#36)



In hr_activity/hr_activity_view.xml: > +            <field name="model">hr.activity</field>
> +            <field name="arch" type="xml">
> +                <search string="Activity">
> +                    <field name="name" string="Timesheet Activity"/>
> +                </search>
> +             </field>
> +        </record>
> +
> +        <record id="open_tree_activity" model="ir.actions.act_window">
> +            <field name="name">Activities</field>
> +            <field name="res_model">hr.activity</field>
> +            <field name="view_type">form</field>
> +            <field name="search_view_id" ref="view_hr_activity_filter"/>
> +        </record>
> +
> +        <menuitem action="open_tree_activity" id="menu_hr_activity_tree" parent="hr.menu_hr_configuration" sequence="12"/> 

Can you put one attribute per line ? 

— 
Reply to this email directly or view it on GitHub .