- 30 Dec, 2009 13 commits
-
-
Fabien Morin authored
getConversion return a list of two values, so previous code ("return len(self.getConversion(**kw))") always return 2. Now the len of the data is returned. In case of images, data is an OFSImage object. But OFSImage objects support len, so it works also in case of images. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31542 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Fabien Morin authored
This height attribute was useless and make strange displaying in firefox (text entered in search field was not vertical centered, now it is). I test the displaying in FF 3.016, Konqueror 4.2.4 and Opera 9.64 and it was good on the 3. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31541 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Fabien Morin authored
the return made in try and in except was the same. Take it of from both and put it after. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31540 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Fabien Morin authored
It was reported that in some web_site (like km), some people think that this field was used to login. Writing "Search" inside make not possible to think this now. (And when the field get the focus, the field make him empty to be able to receive the search text). I try this without javascript support, and the search is usable, the only thing is that the user have to remove the default text manualy (it's the behaviour of most of the popular websites). reviewed and approved by jm git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31539 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Fabien Morin authored
change a bit the behaviour to keep text entered by the user (if the focus is lost and gain, the text entered by the user is kept, this permit to complete a search after changing the focus). Put back the version number commited in r31536 by mistake. reviewed and approved by jm git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31537 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Fabien Morin authored
It was reported that in some web_site (like km), some people think that this field was used to login. Writing "Search" inside make not possible to think this now. (And when the field get the focus, the field make him empty to be able to receive the search text). I try this without javascript support, and the search is usable, the only thing is that the user have to remove the default text manualy (it's the behaviour of most of the popular websites). reviewed and approved by jm git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31536 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Julien Muchembled authored
When I reverted [31533], I thought the 3rd replacement was useless: I didn't notice [27255] was only for non-existing objects. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31535 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Julien Muchembled authored
Revert [31533] partially. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31534 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Julien Muchembled authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31533 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Fabien Morin authored
Image were not stored in the same way in every methods : in case of index_html, the image was stored, in case of convert, the image.data was stored. This lead to conflicts because in both cases, the cache_id was the same, so if inded_html was first call, and after that, convert was call on the same image, convert will return an Image object instead of image.data String. Now in all cases, the image is stored by setConversion, and in case of convert, only image.data is returned. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31532 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Fabien Morin authored
getSizeFromImageDisplay method was returning (heigh, width), but all other methods were returning (widht height). In addition to this, there was mistakes : from Document/Image.py +295 : 'width': self.getSizeFromImageDisplay(id)[0], 'height': self.getSizeFromImageDisplay(id)[1], and also l 450: (width, height) = self.getSizeFromImageDisplay(display) the use of width and height was mixed up. Currently, all default preferences display size define squares (width = heigh), so this mistake was never detected. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31531 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Leonardo Rochael Almeida authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31530 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Leonardo Rochael Almeida authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31529 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 29 Dec, 2009 24 commits
-
-
Mayoro Diagne authored
*return string uri and class_name instead of a list of uris and class_names git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31528 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Fabien Morin authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31527 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Fabien Morin authored
If there is no attribute on a node, the an empty list will be adedd. So it's required to check if the list corresponding to the current node is not empty before applying attributes update. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31526 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Fabien Morin authored
In some cases, we may want to use lists (like in parallel list fields), so it's not good to always value to string. If a conversion (with '\n' addition and '\r' replacement) is needed, this should be done in the render_od* method git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31525 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Fabien Morin authored
The size of the display is not the size of the image, it should be the maximum size of the image but in all cases, the image should keep its ratio aspect. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31524 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Kazuhiko Shiozaki authored
oops, test invalidation should be done in afterSetUp() otherwise TestPackingListMixin.afterSetUp() will validate all existing rules. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31523 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Kazuhiko Shiozaki authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31522 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Aurel authored
- use contentValues instead of searchFolder - call contentValues on object instance and not on accessor itself - call getter instead of accessing property directly git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31521 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Kazuhiko Shiozaki authored
add new_simple_order_rule and new_order_rule in erp5_simulation business template instead of createing by testERP5Simulation. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31520 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Kazuhiko Shiozaki authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31518 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Kazuhiko Shiozaki authored
* fix configuration_form_id of Resource Adoption Solver. * remove needless delivery solver configuration from several target solvers. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31517 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Kazuhiko Shiozaki authored
use Net Converted Quantity Divergence Tester with tested_property=quantity instead of Float Divergence Tester with tested_property=converted_quantity. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31516 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Kazuhiko Shiozaki authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31515 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Kazuhiko Shiozaki authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31514 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Kazuhiko Shiozaki authored
* tested_property should be 'quantity' * but quantity should be calculated by getNetConvertedQuantity not getQuantity. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31513 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Kazuhiko Shiozaki authored
override stepCheckPackingListLineWithDifferentResource to follow aggegation in expanding to simulation movements. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31512 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Kazuhiko Shiozaki authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31511 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Dumazet authored
child_visited_trade_condition_list is only used for lookups, it's faster to rely on a set git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31510 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Dumazet authored
cleaner algorithm git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31509 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Dumazet authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31508 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Dumazet authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31507 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Dumazet authored
The first statement in the loop body is "keep_movement = False", effectively making this line useless git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31506 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Dumazet authored
renderer is the same object in each loop step. It can be created once outside of the loop and reused instead of reinstanciating a new Renderer each time git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31505 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Dumazet authored
Filter on portal type and store items in correct lists, instead of using two distinct list comprehensions based on the same initial list. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31504 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 28 Dec, 2009 3 commits
-
-
Kazuhiko Shiozaki authored
override stepCheckSimulationQuantityUpdatedForMergedLine to follow aggegation in expanding to simulation movements. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31503 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Kazuhiko Shiozaki authored
override checkOrderRuleSimulation and stepModifySimulationLineQuantityForMergedLine to follow aggegation in expanding to simulation movements. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31502 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Kazuhiko Shiozaki authored
(locating in the second line only works when the first line is shebang comment.) git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31501 20353a03-c40f-0410-a6d1-a30d3c3de9de
-