- 29 Dec, 2009 12 commits
-
-
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 28 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
-
Pierre Ducroquet authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31482 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Pierre Ducroquet authored
Improve discussions, add scripts that are needed to ease the integration with websites for instance. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31481 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Kazuhiko Shiozaki authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31479 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Łukasz Nowak authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31478 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Dumazet authored
It is not necessary to build the entire list of transformation lines, we can just examine and filter each line, as they are yielded git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31477 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Jean-Paul Smets authored
During the review of simulation refactoring with Kaz, we found that it made more sense to implement movement aggregation at the applied rule level and implement and N to M matching process rather than a 1 to N. This requires AmountGenerator and MovementGenerator to provide a separate API with no aggregation. Moreover, aggregation process should if possible be implemented consistently accross ERP5. DivergenceTesters seem to be the appropriate core component for that. MovementGroup themselves could be based on embedded DivergenceTesters and getAggregated* method could use themselved MovementGroup, either temporary instances dynamically generated, or existing instances found in appropriate context. This gives an idea of future directions. However, initial implementation will focus first on stable expand. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31476 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Dumazet authored
Pile up a list of filters to apply, and filter the transformation_line_list only once, instead of walking the list for each filter. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31475 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Dumazet authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31474 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Dumazet authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31473 20353a03-c40f-0410-a6d1-a30d3c3de9de
-