- 29 Dec, 2009 21 commits
-
-
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 19 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
-
Kazuhiko Shiozaki authored
in setConvertedQuantity(), if resource or quantity_unit is missing, do like setQuantity(). it is more consistent with getConvertedQuantity(). git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31500 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Fabien Morin authored
calculated with a counter beging to 0, 1, 2, .... git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31499 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Fabien Morin authored
other render_* methods) git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31498 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Fabien Morin authored
- get the value here instead of getting it from the renderer - add as_string parameter on all render_od* call because by default string is returned and here we need a node - add _recursiveGetAttributeDict method. It's used to build a dict containing all attributes of each nodes - _recursiveApplyAttributeDict can be used to apply a dict build by _recursiveGetAttributeDict to a node git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31497 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Fabien Morin authored
if the image is display as a thumbnail, the image will be added in the odg document as thumbnail size/quality - _replaceImage method is not required anymore, remove it - update methods signatures to be consistent with other render_* - if there is some height and width in the node attribute (because of attr_dict), try to make the image smaller or equal to this dimentions, and keep proportion git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31496 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Fabien Morin authored
- don't get the value from the field, this should be done by the caller and passed to methods using value parameter (in render_*, value should be "ready to use") - change the way to get attributes because the dict structure change - add a renderer for DateTime fields git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31495 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Kazuhiko Shiozaki authored
* exceptions must be classes or instances, not str for recent python. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31494 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Kazuhiko Shiozaki authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31493 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Kazuhiko Shiozaki authored
* call SolverTypeInformation.conflictsWithSolver() with solver type information instead of its id string. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31492 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Łukasz Nowak authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31491 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Kazuhiko Shiozaki authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31490 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Łukasz Nowak authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31487 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Kazuhiko Shiozaki authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31486 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Kazuhiko Shiozaki authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31485 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Kazuhiko Shiozaki authored
if 'movement' that is passed to solver is a delivery (eg. in case of start_date divergence), we need to find related simulation movements by its movements. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31484 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Kazuhiko Shiozaki authored
* rename variables to make more sense. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31483 20353a03-c40f-0410-a6d1-a30d3c3de9de
-