- 13 Jul, 2009 7 commits
-
-
Łukasz Nowak authored
- follow this change in classes using private version git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28064 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Łukasz Nowak authored
- fetching simulation movement list made per-explanation, as explanations can be related in different way git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28063 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Łukasz Nowak authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28062 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Łukasz Nowak authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28060 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Łukasz Nowak authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28059 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Tatuya Kamada authored
* Remove None value from the request parameters to prevent creating unnecessary ' is Null' queries when searching via the search dialogs git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28057 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Julien Muchembled authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28056 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 10 Jul, 2009 8 commits
-
-
Vincent Pelletier authored
Update comment: if no distributing node is selected, distribution is simply disabled. Found by Julien. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28055 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Julien Muchembled authored
Temporary disable ZServer by default. You can enable it by setting start_zserver environment variable to 1. The reason is that it always set values to portal_activities.distributingNode and portal_activities._nodes. Before r28043, this didn't happen if self.tic wasn't called, and some projects expects that these variables are unset. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28054 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Łukasz Nowak authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28053 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Fabien Morin authored
specialise_value_list is the starting point to find other objects, so it's always needed (for all portal_types) git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28052 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Łukasz Nowak authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28051 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
raise KeyError if value is not found for given key and no default value provided. If default value is provided and value not found for given key, return default_value. * Call markCacheHit only if value is retrieved from cache container. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28050 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28049 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Łukasz Nowak authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28048 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 09 Jul, 2009 17 commits
-
-
Fabien Morin authored
- Now we use effective model, so we need to define some more properties on model like reference, effective en exiparation date and version - Dynamic date was not good, it's easier to understand and debug with static dates - some date formats were not good - udpate test_modelWithoutDateValidity to check the new behaviour - add some Tic steps after creating the model because effective model are found using catalog git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28047 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Fabien Morin authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28046 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Fabien Morin authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28045 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Fabien Morin authored
- findEffectiveSpecialiseValueList was not using Breadth First Search like findSpecialiseValueList. Now both code have the same behaviour - findEffectiveSpecialiseValueList was not really using effective model, not it use it, and if no effective model are found, an empty list is returned - in case where no effective model are found, getEffectiveModel return None (instead of self). If getEffectiveModel is call with None stop_date and start_date, self is return git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28044 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Julien Muchembled authored
* Slightly change purpose of some options, so that --load and --save can be combined: * --load reuses an existing unit test instance. * --save runs in persistent mode. Tests are skipped if --load is unset. * --data_fs_path just allows to specify a Data.fs path other than the default one. Before this commit, the option was used without --load or --save. To get the previous behaviour, it must be used with --load. Note that it is now possible to use it with --save, what overwrites or modifies it. * if --load is used and MySQL dump is missing, --recreate_catalog is automatically set. * Drop now useless 'erp5_force_data_fs' environment variable. * Import Products and static files in the correct order (= same as a normal instance). * Enable DeadlockDebugger and start ZServer. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28043 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Fabien Morin authored
current model_line should be a child of an effictive model. So it's useless to look for an effective model : the parent of this line is good. it's non sens to use another model than the parent one to get the calculation script to calculate this line. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28042 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Łukasz Nowak authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28041 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Łukasz Nowak authored
- updated copyrights - implement isBuildable, based on real system - add helper method to fetch explanation list - during build use proper method to find delivery builders, and let do builder its job to find movements (this is to be future proof) - fix method name from _getRelatedSimulationMovementList to _getRelatedSimulationMovementValueList, as it in reality return documents not urls and fix this method implementation git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28040 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Fabien Morin authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28039 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Fabien Morin authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28038 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Fabien Morin authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28037 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Tatuya Kamada authored
* Fix when printing invoice and setting 'Custom' for payment-trade-date, payment condition returns the custom setting date git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28036 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Aurel authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28035 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Julien Muchembled authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28034 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Łukasz Nowak authored
- getattr is using acquisition, so in this case subcategories having same id as base categories (eg. delivery) were not created git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28033 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Fabien Morin authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28032 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Tatuya Kamada authored
* Append Japanese localized invoice style-sheet fixing font setting. To avoid hand modification after printing Japanese invoice. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28031 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 08 Jul, 2009 8 commits
-
-
Fabien Morin authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28029 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Jérome Perrin authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28028 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Fabien Morin authored
in case a calculation script is found, slice are not calculated in TradeModelLine class. This should be handle by the calculation script. This permit to create a customise behaviour for slices - improve the error message in case of not found cells to make debugging easier git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28027 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Fabien Morin authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28026 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Fabien Morin authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28025 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Fabien Morin authored
- cartesianProduct is not needed : getCellKeyList can do the same thing in a better and cleaner way - if movements already exists, we don't want to take only the first one, but all movements are needed - improve error message to display the Line (title and relative_url) and the coordinates of the not found cell. This will make debugging much more easier - to set quantity on new created movements, we search on movement_list if movements contribute to the current movement applied on, but we need to look also on already processed movements (current_aggregated_amount_list) - the condition to check if the quantity of the current movement should be updated was wrong, fix it - in TradeCondition, now one loop turn is enought to make all calculation - change some variables names that where already used previously to avoid mistakes git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28024 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28023 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Julien Muchembled authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28022 20353a03-c40f-0410-a6d1-a30d3c3de9de
-