mirror of
https://github.com/bringout/oca-ocb-project.git
synced 2026-04-21 11:21:59 +02:00
19.0 vanilla
This commit is contained in:
parent
a2f74aefd8
commit
4a4d12c333
844 changed files with 212348 additions and 270090 deletions
|
|
@ -7,5 +7,31 @@
|
|||
<record id="hr_expense.travel_demo_by_car_expense" model="hr.expense">
|
||||
<field name="analytic_distribution" eval="{ref('project.analytic_office_design'): 100}"/>
|
||||
</record>
|
||||
<record id="transportation_expense" model="hr.expense">
|
||||
<field name="name">Transportation</field>
|
||||
<field name="employee_id" ref="hr.employee_al"/>
|
||||
<field name="analytic_distribution" eval="{ref('project.analytic_construction'): 100}"/>
|
||||
<field name="product_id" ref="hr_expense.expense_product_travel_accommodation"/>
|
||||
<field name="total_amount_currency" eval="240.0"/>
|
||||
<field name="product_uom_id" ref="uom.product_uom_unit"/>
|
||||
<field name="date" eval="time.strftime('%Y-%m-12')"/>
|
||||
</record>
|
||||
<record id="restaurant_expense" model="hr.expense">
|
||||
<field name="name">Restaurant</field>
|
||||
<field name="employee_id" ref="hr.employee_al"/>
|
||||
<field name="analytic_distribution" eval="{ref('project.analytic_construction'): 100}"/>
|
||||
<field name="product_id" ref="hr_expense.expense_product_meal"/>
|
||||
<field name="total_amount_currency" eval="320.0"/>
|
||||
<field name="product_uom_id" ref="uom.product_uom_unit"/>
|
||||
<field name="date" eval="time.strftime('%Y-%m-10')"/>
|
||||
</record>
|
||||
|
||||
<function name="action_submit" model="hr.expense">
|
||||
<value model="hr.expense" eval="[ref('transportation_expense'), ref('restaurant_expense')]"/>
|
||||
</function>
|
||||
|
||||
<function name="action_approve" model="hr.expense">
|
||||
<value model="hr.expense" eval="[ref('transportation_expense'), ref('restaurant_expense')]"/>
|
||||
</function>
|
||||
</data>
|
||||
</odoo>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue