[Trunk] Record Can not Save
Bug #785582 reported by
Amit Parik
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
Low
|
OpenERP R&D Addons Team 3 |
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!
Related branches
lp:~openerp-dev/openobject-addons/trunk-bug-785582-psi
- Purnendu Singh (OpenERP) (community): Needs Resubmitting
- Mustufa Rangwala (Open ERP) (community): Approve
- qdp (OpenERP): Pending requested
-
Diff: 182 lines (+84/-85)1 file modifiedsale_layout/sale_layout_view.xml (+84/-85)
Changed in openobject-client: | |
assignee: | nobody → OpenERP sa GTK client R&D (openerp-dev-gtk) |
importance: | Undecided → Low |
status: | New → Confirmed |
affects: | openobject-client → openobject-addons |
Changed in openobject-addons: | |
assignee: | OpenERP sa GTK client R&D (openerp-dev-gtk) → OpenERP R&D Addons Team 3 (openerp-dev-addons3) |
Changed in openobject-addons: | |
status: | Confirmed → In Progress |
Changed in openobject-addons: | |
status: | In Progress → Confirmed |
affects: | openobject-addons → openobject-client |
Changed in openobject-client: | |
assignee: | OpenERP R&D Addons Team 3 (openerp-dev-addons3) → OpenERP sa GTK client R&D (openerp-dev-gtk) |
Changed in openobject-client: | |
status: | Confirmed → In Progress |
affects: | openobject-client → openobject-addons |
Changed in openobject-addons: | |
status: | In Progress → Fix Committed |
Changed in openobject-addons: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
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