Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
162 Vizualizări

Hello everyone,

I’m new to the company and a first-time Odoo user, and I’d like to ask for some help. 

First, I only know that the company uses the Odoo web version, but I’m not sure of the exact version.

I work at an interior decoration company, and my requirement is related to our dealings with contractors. After a project is completed, there’s a 2-year warranty period. If our company successfully handles all warranty issues during these two years, the contractor will release the final 3% of the payment to us. Currently, all our quotations, sales orders, and accounts receivable data are managed in Odoo, but details about this warranty retention amount are not reflected. This makes it difficult for our sales team to know the exact status of the warranty period for each project or when to follow up on recovering the 3% payment. I’d like to know if it’s possible to track and manage this in Odoo, and even better, if it can be presented in a visual format (e.g., charts or dashboards).

Thank you in advance for your assistance!

Best regards, 

Denny Chang

Imagine profil
Abandonează
Cel mai bun răspuns

If you are using odoo enterprise version :Setup using Odoo Studio

-Open Sales > Quotations (or Sales Orders).

-Activate Studio.

-Add the following custom fields:

-Warranty Period (in months) -> default: 24

-Warranty End Date -> compute automatically: Order Date + 24 months

-Retention (%) -> default: 3

-Retention Amount -> compute as Total × Retention / 100

-Retention Released? (Boolean)

-Retention Release Date


This alone will help you track everything at the record level.

If you are using odoo community version : Add logic like

from odoo import models, fields, api

from datetime import timedelta


class SaleOrder(models.Model):

    _inherit = 'sale.order'


    retention_percent = fields.Float(default=3.0)

    retention_amount = fields.Monetary(compute='_compute_retention')

    warranty_end_date = fields.Date(compute='_compute_warranty_end', store=True)

    retention_released = fields.Boolean()

    retention_release_date = fields.Date()


    @api.depends('amount_total', 'retention_percent')

    def _compute_retention(self):

        for order in self:

            order.retention_amount = order.amount_total * order.retention_percent / 100


    @api.depends('date_order')

    def _compute_warranty_end(self):

        for order in self:

            if order.date_order:

                order.warranty_end_date = order.date_order + timedelta(days=730)

And Yes , it’s possible to presented in a visual format (charts and dashboards).

A Kanban view grouping projects by “Warranty Status” (Active / Completed / Released).

A Graph showing retention amount due per month.

A Pivot table by customer or project.


Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
1
iul. 17
711
0
iun. 24
1461
1
mai 25
1414
2
nov. 24
2523
1
aug. 24
1822