mirror of
https://github.com/bringout/oca-mrp.git
synced 2026-04-25 07:12:03 +02:00
Initial commit: OCA Mrp packages (117 packages)
This commit is contained in:
commit
277e84fd7a
4403 changed files with 395154 additions and 0 deletions
|
|
@ -0,0 +1,44 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<odoo>
|
||||
<record id="view_account_analytic_line_form_inherit" model="ir.ui.view">
|
||||
<field name="name">account.analytic.line.form.inherit</field>
|
||||
<field name="model">account.analytic.line</field>
|
||||
<field name="inherit_id" ref="hr_timesheet.hr_timesheet_line_form" />
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//field[@name='unit_amount']" position="after">
|
||||
<field
|
||||
name="unit_amount_rounded"
|
||||
string="Quantity Rounded"
|
||||
widget="float_time"
|
||||
/>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
<record id="account_analytic_line_kanban_inherit" model="ir.ui.view">
|
||||
<field name="name">account.analytic.line.kanban.inherit</field>
|
||||
<field name="model">account.analytic.line</field>
|
||||
<field name="inherit_id" ref="hr_timesheet.view_kanban_account_analytic_line" />
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//field[@name='unit_amount']" position="after">
|
||||
<br />
|
||||
<strong>Rounded: </strong>
|
||||
<field name="unit_amount_rounded" widget="float_time" />
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
<record id="account_analytic_line_tree_inherit" model="ir.ui.view">
|
||||
<field name="name">account.analytic.line.tree.inherit</field>
|
||||
<field name="model">account.analytic.line</field>
|
||||
<field name="inherit_id" ref="hr_timesheet.hr_timesheet_line_tree" />
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//field[@name='unit_amount']" position="after">
|
||||
<field
|
||||
name="unit_amount_rounded"
|
||||
string="Quantity rounded"
|
||||
sum="Total quantity rounded"
|
||||
widget="float_time"
|
||||
/>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
</odoo>
|
||||
|
|
@ -0,0 +1,25 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<odoo>
|
||||
<record id="project_project_form_inherit" model="ir.ui.view">
|
||||
<field name="name">project.project.form.inherit</field>
|
||||
<field name="model">project.project</field>
|
||||
<field name="inherit_id" ref="project.edit_project" />
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//page[@name='settings']" position="inside">
|
||||
<group name="rounding">
|
||||
<group string="Time rounding" name="time_rounding_parameters">
|
||||
<field name="timesheet_rounding_method" />
|
||||
<field
|
||||
name="timesheet_rounding_unit"
|
||||
attrs="{'invisible': [('timesheet_rounding_method', '=', 'NO')]}"
|
||||
/>
|
||||
<field
|
||||
name="timesheet_rounding_factor"
|
||||
attrs="{'invisible': [('timesheet_rounding_method', '=', 'NO')]}"
|
||||
/>
|
||||
</group>
|
||||
</group>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
</odoo>
|
||||
|
|
@ -0,0 +1,17 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<odoo>
|
||||
<record id="hr_timesheet_view_task_form2_inherited_inherit" model="ir.ui.view">
|
||||
<field name="name">hr.timesheet.view.task.form2.inherited.inherit</field>
|
||||
<field name="model">project.task</field>
|
||||
<field name="inherit_id" ref="hr_timesheet.view_task_form2_inherited" />
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//field[@name='unit_amount']" position="after">
|
||||
<field
|
||||
name="unit_amount_rounded"
|
||||
string="Duration (rounded)"
|
||||
widget="float_time"
|
||||
/>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
</odoo>
|
||||
Loading…
Add table
Add a link
Reference in a new issue