← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 785582] Re: [Trunk] Record Can not Save

 

Hello,

The *name* field in sale layout module is required and contains
following attrs:

<field colspan="4" name="name" select="2"
attrs="{'readonly':[('layout_type','in',('line','break'))] }"/>

which makes the *name* field readonly when the value of 'layout_type' is
either of [line,break].... but does not make required False... So the
client will wait for the value of that "required" field.

The correction needed in sale layout module is to add an attrs to make
the required field to False when the value of 'layout_type' is either of
[line,break] along with the above attrs....

Note: The red color is not shown here because it gets mixed up with the
readonly color...

@ community team please change the project and assign to the approriate
addons team.

Thanks

-- 
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/785582

Title:
  [Trunk] Record Can not Save

Status in OpenERP GTK Client:
  Confirmed

Bug description:
  Steps:
  Issue 1) Install the Sale_layout module Open the SO and Select the layout type ='Page Break" or "Separator Line" in SO line press the "Save and Close" or "Save and New" button but the record can not save.

  Issue 2) Create the SO with product confirm the SO the Sale order and
  Sale order line are read only open the resources button of SO line
  means Edit the So line it is editable it should also read only.

  Thanks!


References