Community mailing list archives
Re: How to flag order changeby
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
Himaybe 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<openerp><data><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"></xpath></field></record></data></openerp>On Wed, Apr 27, 2016 at 11:18 AM, John Pia Jr <email@example.com> wrote:
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.
- John Pia Jr