mirror of
https://github.com/OCA/manufacture.git
synced 2025-01-28 16:37:15 +02:00
@@ -23,7 +23,7 @@ Repair Calendar View
|
||||
:target: https://runbot.odoo-community.org/runbot/129/12.0
|
||||
:alt: Try me on Runbot
|
||||
|
||||
|badge1| |badge2| |badge3| |badge4| |badge5|
|
||||
|badge1| |badge2| |badge3| |badge4| |badge5|
|
||||
|
||||
This Module adds a calendar view for the repair orders
|
||||
|
||||
@@ -58,14 +58,7 @@ Contributors
|
||||
* Alex Comba <alex.comba@agilebg.com>
|
||||
* Carlos Jimeno <carlos.jimeno@guadaltech.es>
|
||||
* María Asunción Daza <mariaasuncion.daza@guadaltech.es>
|
||||
|
||||
Other credits
|
||||
~~~~~~~~~~~~~
|
||||
|
||||
Images
|
||||
------
|
||||
|
||||
* Odoo Community Association: `Icon <https://github.com/OCA/maintainer-tools/blob/master/template/module/static/description/icon.svg>`_.
|
||||
* Marcel Savegnago <marcel.savegnago@escodoo.com.br>
|
||||
|
||||
Maintainers
|
||||
~~~~~~~~~~~
|
||||
|
||||
@@ -14,3 +14,5 @@ class RepairOrder(models.Model):
|
||||
copy=False,
|
||||
help="Date of the repair, this field "
|
||||
"and user_id defines the calendar")
|
||||
duration = fields.Float('Repair Duration',
|
||||
help="Duration in hours and minutes.")
|
||||
|
||||
@@ -3,3 +3,4 @@
|
||||
* Alex Comba <alex.comba@agilebg.com>
|
||||
* Carlos Jimeno <carlos.jimeno@guadaltech.es>
|
||||
* María Asunción Daza <mariaasuncion.daza@guadaltech.es>
|
||||
* Marcel Savegnago <marcel.savegnago@escodoo.com.br>
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
Images
|
||||
------
|
||||
|
||||
* Odoo Community Association: `Icon <https://github.com/OCA/maintainer-tools/blob/master/template/module/static/description/icon.svg>`_.
|
||||
@@ -7,6 +7,7 @@
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//field[@name='guarantee_limit']" position="after">
|
||||
<field name="date_repair"/>
|
||||
<field name="duration"/>
|
||||
</xpath>
|
||||
<xpath expr="//field[@name='partner_id']" position="after">
|
||||
<field name="user_id"/>
|
||||
@@ -18,7 +19,7 @@
|
||||
<field name="name">Repair Orders Calendar</field>
|
||||
<field name="model">repair.order</field>
|
||||
<field name="arch" type="xml">
|
||||
<calendar string="Repair Orders Calendar" date_start="date_repair" color="user_id">
|
||||
<calendar string="Repair Orders Calendar" date_start="date_repair" date_delay="duration" color="user_id">
|
||||
<field name="product_id"/>
|
||||
<field name="partner_id"/>
|
||||
</calendar>
|
||||
|
||||
Reference in New Issue
Block a user