Community mailing list archives

Re: How to flag order change

John Pia Jr
- 04/27/2016 11:46:46

Thank you zahid.

I was thinking of something similar, and your advice and input has made me more comfortable with my decision. Thank you again

- John Pia Jr

On Apr 27, 2016 7:23 AM, "zahid jalal" <> wrote:
maybe the simplest way to do it is to create a boolean field " first_order " on SO . set to true by default it will changed by user to true when some change is done on the SO.
It's not hard after that to display in tree view.

class sale_order(models.Model):
        _inherit= "sale.sale_order"
        _name= "sale.sale_order"

        first_order = fields.Boolean("original order", default=True) 

XML tree view
        <record model="ir.ui.view" id="view_order_new_form">
            <field name="name">sale.order.form.inherit</field>
            <field name="model">sale.order</field>
            <field name="inherit_id" ref="sale.view_order_tree"/>
            <field name="arch" type="xml">
                <xpath expr="//field[@name="state"]" position="after">
                                 <field name="first_order">             


Odoo Integrator,
Data integration
BI and IT consulting.
tél  0661360233 - 0636898882
fax 0528215738

On Wed, Apr 27, 2016 at 11:18 AM, John Pia Jr <> wrote:

Hello all,

My business is very fast pace, about 90% of sale orders on any given day are packed and shipping thag same day.

Becuase we are in the food business, customers order often change throughout the day, and becuase we will not refuse any order we find ourselves making changes to the orders often.

My question is, is there a module out there that will easy flag orders that have changed once they have already been confirmed?

My thought is that I would have to chnage the delivery order info, and not the same order (I invoice based on delivery order).

I was thinking maybe a check box on the deliver order that I can use to filter and color code orders in the tree view.

We do about 300 orders a day so having a quick and accurate means of identifying order changes is critical.

Thank insight is greatly appreciated.

Thanks all.

- John Pia Jr

Post to:

Post to: