← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 539722] Re: Close button remembers changes

 

** Also affects: openobject-client/trunk
   Importance: Medium
     Assignee: OpenERP sa GTK client R&D (openerp-dev-gtk)
       Status: Confirmed

** Changed in: openobject-client/trunk
       Status: Confirmed => In Progress

** Changed in: openobject-client/trunk
    Milestone: 6.0 => 6.0-rc2

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/539722

Title:
  Close button remembers changes

Status in OpenObject GTK Client:
  In Progress
Status in OpenObject GTK Client trunk series:
  In Progress

Bug description:
  When you use the close button to close a separate window (sale.order.line and similar) it remembers changed data, if that object already existed.

Example:
Create a new sale order and add one sale order line, press ok to add this new sale order line to the sale order.
Now edit that same entry and make the description (or any other required field) empty, and press the close button.

If you now edit that same line the description will still be empty. So it won't validate unless you fill it in again.

Running the client with log-level=debug_rpc_answer shows that pressing the close button doesn't trigger any event.

The behavior I think I should be seeing is that it asks me if I want to save my changes. At least that's what I see in the handling of the close signal in the client code.

Using OpenERP 5.0.7 (both server and client).