Merge lp:~openerp-dev/openerp-web/trunk-bug-1119289-dhruvit into lp:openerp-web

Proposed by Dhruvit Darji(OpenERP)
Status: Needs review
Proposed branch: lp:~openerp-dev/openerp-web/trunk-bug-1119289-dhruvit
Merge into: lp:openerp-web
Diff against target: 32 lines (+3/-3)
2 files modified
addons/web/static/src/css/base.css (+1/-1)
addons/web/static/src/css/base.sass (+2/-2)
To merge this branch: bzr merge lp:~openerp-dev/openerp-web/trunk-bug-1119289-dhruvit
Reviewer Review Type Date Requested Status
Nimesh Contractor(Open ERP) (community) Needs Information
Stefan Rijnhart (Opener) (community) Needs Fixing
OpenERP R&D Web Team Pending
Review via email: mp+153085@code.launchpad.net

Description of the change

Hello,

   I have fixed the issue of Wastage of view space in journal entries

Thanks,
Dhruvit.

To post a comment you must log in.
3701. By Dhruvit Darji(OpenERP)

[IMP] Remove unused space

Revision history for this message
Stefan Rijnhart (Opener) (stefan-opener) wrote :

Commit 3701 undoes the fix of the problem from commit 3700.

review: Needs Fixing
Revision history for this message
Nimesh Contractor(Open ERP) (nco-openerp) wrote :

Following are two different approach to fix this issue:

1) Revision 3700 : For large one2many field(too many columns) it will re-sized the sheet

2) Revision 3701 : It will add scroll bar in one2many field and keep sheet size at it is (850px)

review: Needs Information
Revision history for this message
Stefan Rijnhart (Opener) (stefan-opener) wrote :

Nimesh,

to be more precise about this: rev. 3701 is a refactoring of https://code.launchpad.net/~openerp-dev/openerp-web/7.0-opw-589823-msh. This fixes a bug in which the columns break out of the page layout, and it adds the scrollbar. Now, if you take a look at the screenshot that demonstrates the issue (in the bug's first comment), you will see that the scollbar is already there. Camp2camp must have gotten that as an OPW fix. The bug's description clearly complains about the unused space in combination with the scrollbar and the cramped one2many layout. Therefore, revision 3700 fixes the problem and revision 3701 reverts it again.

Dhruvit, please revert revision 3701 and we are done. Yes, this resizes the sheet which is a huge improvement on usability.

Unmerged revisions

3701. By Dhruvit Darji(OpenERP)

[IMP] Remove unused space

3700. By Dhruvit Darji(OpenERP)

[FIX] Remove the waste space in journal entry

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'addons/web/static/src/css/base.css'
2--- addons/web/static/src/css/base.css 2013-03-15 09:01:12 +0000
3+++ addons/web/static/src/css/base.css 2013-03-22 09:26:41 +0000
4@@ -2137,7 +2137,7 @@
5 min-height: 330px;
6 padding: 16px;
7 }
8-.openerp .oe_form_sheet .oe_list {
9+.openerp .oe_form_sheet .oe_form_field_one2many, .openerp .oe_form_sheet .oe_form_field_many2many {
10 overflow-x: auto;
11 }
12 .openerp .oe_application .oe_form_sheetbg {
13
14=== modified file 'addons/web/static/src/css/base.sass'
15--- addons/web/static/src/css/base.sass 2013-03-15 09:01:12 +0000
16+++ addons/web/static/src/css/base.sass 2013-03-22 09:26:41 +0000
17@@ -1683,13 +1683,13 @@
18 padding: 16px 0
19 .oe_form_sheet_width
20 min-width: 650px
21- max-width: $sheet-max-width
22+ max-width: 860px
23 margin: 0 auto
24 .oe_form_sheet
25 background: white
26 min-height: 330px
27 padding: 16px
28- .oe_list
29+ .oe_form_field_one2many, .oe_form_field_many2many
30 overflow-x: auto
31 // Sheet inline mode
32 .oe_application