/[public]/erp5/sandbox/amount_generator/products/ERP5/Document
ERP5 logo

Log of /erp5/sandbox/amount_generator/products/ERP5/Document

View Directory Listing Directory Listing


Sticky Revision:


Revision 38564 - Directory Listing
Modified Wed Sep 22 18:07:36 2010 UTC (2 years, 7 months ago) by jm
Fix testInventoryAPI

Revision 38562 - Directory Listing
Modified Wed Sep 22 18:07:04 2010 UTC (2 years, 7 months ago) by jm
Fix testDomainTool

Revision 38427 - Directory Listing
Modified Thu Sep 16 19:52:19 2010 UTC (2 years, 8 months ago) by jm
New testLegacyAccountingReports

Revision 38210 - Directory Listing
Modified Thu Sep 9 07:46:27 2010 UTC (2 years, 8 months ago) by jm
Fix some errors in test(Legacy)ConversionInSimulation

Revision 38138 - Directory Listing
Modified Fri Sep 3 12:31:36 2010 UTC (2 years, 8 months ago) by jm
Tolerate that a rule does not produce any amount when output quantity can differ from input

Revision 38075 - Directory Listing
Modified Tue Aug 31 16:25:16 2010 UTC (2 years, 8 months ago) by jm
Drop dummy diffs with trunk

Revision 38074 - Directory Listing
Modified Tue Aug 31 16:24:53 2010 UTC (2 years, 8 months ago) by jm
Reapply r37627 (which was reverted by mistake during sync with trunk)

Revision 38071 - Directory Listing
Modified Tue Aug 31 14:36:01 2010 UTC (2 years, 8 months ago) by jm
Sync with trunk@38066

Conflicts:
	bt5/erp5_payroll/bt/revision
	products/ERP5/Document/AppliedRule.py
	products/ERP5/Document/BusinessTemplate.py
	products/ERP5Type/tests/ERP5TypeLiveTestCase.py

Revision 38070 - Directory Listing
Modified Tue Aug 31 13:15:47 2010 UTC (2 years, 8 months ago) by jm
Sync with trunk@37637

Conflicts:
	bt5/erp5_accounting/bt/revision
	bt5/erp5_accounting/bt/template_action_path_list
	bt5/erp5_base/SkinTemplateItem/portal_skins/erp5_base/SolverDecision_view/my_delivery_title_list.xml
	bt5/erp5_base/bt/revision
	bt5/erp5_dms/bt/revision
	bt5/erp5_simulation/bt/revision
	bt5/erp5_trade/bt/revision
	products/ERP5/Document/SolverProcess.py
	products/ERP5/Document/TradeCondition.py
	products/ERP5/tests/testERP5Simulation.py
	products/ERP5/tests/testOrder.py
	products/ERP5/tests/testTradeModelLine.py

Revision 38067 - Directory Listing
Modified Tue Aug 31 10:02:33 2010 UTC (2 years, 8 months ago) by jm
Sync with trunk@37148

Conflicts:
	bt5/erp5_accounting/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml
	bt5/erp5_accounting/bt/revision
	bt5/erp5_accounting/bt/template_portal_type_allowed_content_type_list
	bt5/erp5_base/bt/revision
	bt5/erp5_invoicing/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml
	bt5/erp5_invoicing/bt/template_portal_type_allowed_content_type_list
	bt5/erp5_trade/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml
	bt5/erp5_trade/bt/change_log
	bt5/erp5_trade/bt/revision
	bt5/erp5_trade/bt/template_portal_type_allowed_content_type_list
	products/ERP5/Document/SimulationMovement.py
	products/ERP5Legacy/Document/BusinessPath.py

Revision 38015 - Directory Listing
Modified Wed Aug 25 16:35:16 2010 UTC (2 years, 8 months ago) by jm
small optimization

Revision 37928 - Directory Listing
Modified Fri Aug 20 11:55:48 2010 UTC (2 years, 9 months ago) by jm
Add 'causality' category to Amount

Revision 37910 - Directory Listing
Modified Thu Aug 19 18:22:29 2010 UTC (2 years, 9 months ago) by jm
Fix building of invoice lines in some tests

Revision 37909 - Directory Listing
Modified Thu Aug 19 18:22:16 2010 UTC (2 years, 9 months ago) by jm
Small optimizations

Revision 37881 - Directory Listing
Modified Wed Aug 18 11:46:42 2010 UTC (2 years, 9 months ago) by jm
Fix causality on simulation movements

Revision 37797 - Directory Listing
Modified Fri Aug 13 12:53:00 2010 UTC (2 years, 9 months ago) by jm
Fix PaySheetTransaction wrt r37780

Revision 37780 - Directory Listing
Modified Thu Aug 12 18:19:43 2010 UTC (2 years, 9 months ago) by jm
Add reference and causality links to generated amounts

Revision 37671 - Directory Listing
Modified Tue Aug 10 12:27:10 2010 UTC (2 years, 9 months ago) by jm
Composition: drop support for model lines/cells on deliveries and movements

Revision 37628 - Directory Listing
Modified Sat Aug 7 13:00:40 2010 UTC (2 years, 9 months ago) by jp
Only build what is buildable. Invoke mixin rather than non existing class.

Revision 37627 - Directory Listing
Modified Sat Aug 7 13:00:08 2010 UTC (2 years, 9 months ago) by jp
It should be possible to import portal types through path and thus order must be changed.

Revision 37612 - Directory Listing
Modified Fri Aug 6 18:38:54 2010 UTC (2 years, 9 months ago) by jm
Look at trade phase on rule first and remove obsolete code in PaymentSimulationRule

If we leave PaymentSimulationRule as it is now, 2 Trade Model Path must be
created (for bank and payable), instead of 1.
Reenable payment rule in tests.

Revision 37593 - Directory Listing
Modified Fri Aug 6 09:56:43 2010 UTC (2 years, 9 months ago) by jm
Finish rewrite of Invoice Transaction Simulation Rule for new simulation

We drop support of custom script (generate_prevision_script_id).

Revision 37567 - Directory Listing
Modified Thu Aug 5 15:42:44 2010 UTC (2 years, 9 months ago) by jerome
absolute tolerance and absolute quantity are not needed, the same result can be
obtained by setting the same values in range_min and range_max

Revision 37559 - Directory Listing
Modified Thu Aug 5 14:58:21 2010 UTC (2 years, 9 months ago) by jerome
support more relative tolerance bases:
 - resource quantity precision (for quantity on movements)
 - resource price precision (for price on movements, when price precision is used for that resource)
 - price currency precision (for price on movement, when not using base unit price)
 - sections price currency precision (for asset price on accounting transaction lines, and maybe other movements)


Revision 37558 - Directory Listing
Modified Thu Aug 5 14:55:49 2010 UTC (2 years, 9 months ago) by jm
Make TestTradeModelLine.test_TradeModelRuleSimulationExpand work

Revision 37547 - Directory Listing
Modified Thu Aug 5 13:25:29 2010 UTC (2 years, 9 months ago) by jp
Quickly moved core to mixin, added what is needed for new BPM (taken from BPMBuilder.py now in Legacy) and tried to have single code base)

Revision 37542 - Directory Listing
Modified Thu Aug 5 12:48:38 2010 UTC (2 years, 9 months ago) by jerome
delete solver decision that are no longer applicable

Revision 37541 - Directory Listing
Modified Thu Aug 5 12:48:05 2010 UTC (2 years, 9 months ago) by jerome
test movement using interface

Revision 37538 - Directory Listing
Modified Thu Aug 5 12:38:51 2010 UTC (2 years, 9 months ago) by jerome
This docstring was already totally outdated

Revision 37527 - Directory Listing
Modified Thu Aug 5 12:25:09 2010 UTC (2 years, 9 months ago) by jerome
isFrozen has been removed on movement, in r36056

Revision 37525 - Directory Listing
Modified Thu Aug 5 11:55:26 2010 UTC (2 years, 9 months ago) by vincent
Remove Documents from ERP5 product when they import from ERP5Legacy

There are identical files in ERP5Legacy, so nothing of value is lost.

Revision 37522 - Directory Listing
Modified Thu Aug 5 11:41:04 2010 UTC (2 years, 9 months ago) by jerome
remove obsolete comments, those files have replaced the previous ones

Revision 37512 - Directory Listing
Modified Thu Aug 5 09:10:41 2010 UTC (2 years, 9 months ago) by jerome
explain what path is not found in install

Revision 37504 - Directory Listing
Modified Thu Aug 5 08:07:28 2010 UTC (2 years, 9 months ago) by jerome
missing docstraing

Revision 37502 - Directory Listing
Modified Thu Aug 5 08:04:40 2010 UTC (2 years, 9 months ago) by jerome
use new name "GeneratedDeliveryBuilder" everywhere in this file

Revision 37501 - Directory Listing
Modified Thu Aug 5 07:45:47 2010 UTC (2 years, 9 months ago) by jp
renamed

Revision 37497 - Directory Listing
Modified Wed Aug 4 20:06:51 2010 UTC (2 years, 9 months ago) by jp
Use business_link instead of business_path

Revision 37495 - Directory Listing
Modified Wed Aug 4 19:56:52 2010 UTC (2 years, 9 months ago) by jp
Renamed. Still needs full implementation.

Revision 37494 - Directory Listing
Modified Wed Aug 4 19:55:30 2010 UTC (2 years, 9 months ago) by jp
copied from erp5_simulation

Revision 37488 - Directory Listing
Modified Wed Aug 4 19:18:59 2010 UTC (2 years, 9 months ago) by jp
New name for builder classes

Revision 37487 - Directory Listing
Modified Wed Aug 4 19:17:36 2010 UTC (2 years, 9 months ago) by jp
Moved old builder classes to ERP5Legacy

Revision 37486 - Directory Listing
Modified Wed Aug 4 19:14:29 2010 UTC (2 years, 9 months ago) by jp
Moved rules from erp5_simulation

Revision 37484 - Directory Listing
Modified Wed Aug 4 19:11:42 2010 UTC (2 years, 9 months ago) by jp
Moved rules to ERP5 product

Revision 37473 - Directory Listing
Modified Wed Aug 4 13:05:39 2010 UTC (2 years, 9 months ago) by jerome
prevent ZeroDivisionError

Revision 37458 - Directory Listing
Modified Tue Aug 3 18:24:18 2010 UTC (2 years, 9 months ago) by aurel
change inheritance order as we do not want movement class to override
method from ProperyRecordableMixin

Revision 37456 - Directory Listing
Modified Tue Aug 3 18:01:31 2010 UTC (2 years, 9 months ago) by jm
Simplify code

Revision 37448 - Directory Listing
Modified Tue Aug 3 15:08:31 2010 UTC (2 years, 9 months ago) by jm
Fix trade module simulation rule

Revision 37443 - Directory Listing
Modified Tue Aug 3 14:26:33 2010 UTC (2 years, 9 months ago) by jp
Blind commit with various changes to make build work if erp5_bpm installed

Revision 37438 - Directory Listing
Modified Tue Aug 3 12:19:39 2010 UTC (2 years, 9 months ago) by jp
Changed a bit the API

Revision 37435 - Directory Listing
Modified Tue Aug 3 08:38:51 2010 UTC (2 years, 9 months ago) by aurel
getTradePhaseMovementList take now an update_property_dict as
parameter
more default to 0.0 when getting date
- changes done by JPS

Revision 37408 - Directory Listing
Modified Mon Aug 2 15:11:16 2010 UTC (2 years, 9 months ago) by aurel
default payment term to 0 to avoid error when adding to a datetime object

Revision 37402 - Directory Listing
Modified Mon Aug 2 14:29:04 2010 UTC (2 years, 9 months ago) by jm
TradeModelLine: fix r36902 to ignore quantity only if it is not specified

(default value for quantity is 0)

Revision 37394 - Directory Listing
Modified Mon Aug 2 10:04:45 2010 UTC (2 years, 9 months ago) by jm
Remove code that shouldn't have been merge in r37129

Revision 37131 - Directory Listing
Modified Thu Jul 15 12:47:52 2010 UTC (2 years, 10 months ago) by kazuhiko
remove needless code that are added by sync with r37114.

Revision 37129 - Directory Listing
Modified Thu Jul 15 12:01:24 2010 UTC (2 years, 10 months ago) by seb
sync with trunk@37114

Conflicts:
	bt5/erp5_base/bt/revision
	bt5/erp5_simulation/DocumentTemplateItem/InvoiceSimulationRule.py
	bt5/erp5_simulation/bt/revision
	bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/Base_viewTradeFieldLibrary.xml
	bt5/erp5_trade/bt/change_log
	bt5/erp5_trade/bt/revision
	products/ERP5/Document/BusinessPath.py
	products/ERP5/Document/SimulationMovement.py
	products/ERP5/Document/TradeCondition.py
	products/ERP5/Document/TradeModelLine.py
	products/ERP5/bootstrap/erp5_mysql_innodb_catalog/bt/revision
	products/ERP5Type/ERP5Type.py

Revision 37094 - Directory Listing
Modified Tue Jul 13 20:56:33 2010 UTC (2 years, 10 months ago) by kazuhiko
remove heading 'trade_phase/' in comparison if exists.

Revision 37090 - Directory Listing
Modified Tue Jul 13 14:28:04 2010 UTC (2 years, 10 months ago) by jp
Fixed typos in places not carefully reviewed

Revision 37089 - Directory Listing
Modified Tue Jul 13 14:16:13 2010 UTC (2 years, 10 months ago) by kazuhiko
move to ERP5Legacy, because Business State is replaced by trade_state base category.

Revision 37062 - Directory Listing
Modified Mon Jul 12 15:48:31 2010 UTC (2 years, 10 months ago) by kazuhiko
fix a wrong usage of _getExplanationCache().

Revision 37060 - Directory Listing
Modified Mon Jul 12 15:26:22 2010 UTC (2 years, 10 months ago) by kazuhiko
fix more 'undefined name', but still remains some.

Revision 37059 - Directory Listing
Modified Mon Jul 12 15:19:51 2010 UTC (2 years, 10 months ago) by kazuhiko
fix typos : business_link -> trade_model_path.

Revision 37051 - Directory Listing
Modified Mon Jul 12 13:36:57 2010 UTC (2 years, 10 months ago) by kazuhiko
do not import legacy code.

Revision 37049 - Directory Listing
Modified Mon Jul 12 13:17:00 2010 UTC (2 years, 10 months ago) by kazuhiko
fix a wrong coding.

Revision 37035 - Directory Listing
Modified Mon Jul 12 09:33:49 2010 UTC (2 years, 10 months ago) by kazuhiko
use getRootDeliveryValue() instead of deprecated getDeliveryValue().

Revision 36912 - Directory Listing
Modified Tue Jul 6 17:48:34 2010 UTC (2 years, 10 months ago) by jp


Revision 36904 - Directory Listing
Modified Tue Jul 6 15:27:21 2010 UTC (2 years, 10 months ago) by aurel
add comment about the use of new amount generator

Revision 36903 - Directory Listing
Modified Tue Jul 6 15:25:04 2010 UTC (2 years, 10 months ago) by aurel
prevent failure when property is None

Revision 36902 - Directory Listing
Modified Tue Jul 6 15:19:15 2010 UTC (2 years, 10 months ago) by aurel
return quantity even if 0

Revision 36899 - Directory Listing
Modified Tue Jul 6 15:09:59 2010 UTC (2 years, 10 months ago) by aurel
add a PaySheetModelCell class to define a custom
getMappedValueBaseCategoryList method

Revision 36834 - Directory Listing
Modified Sun Jul 4 15:03:42 2010 UTC (2 years, 10 months ago) by jp
renames business_link to trade_model_path to match with intention

Revision 36833 - Directory Listing
Modified Sun Jul 4 13:30:31 2010 UTC (2 years, 10 months ago) by jp
Changes in this commit are the consequence of discussion between JPS and YO on the split of business path into business link and trade model path.
The notion of "completion date" does not make much sense anymore in a context in which Business Link are unrelated to dates. Instead, we provide helpers to gather lists and stats of simulation movements of an expanded simulation tree. This should be equivalet for usability at user level, with appropriate reports. The notion of "expected start date and stop date" is kept because it is useful. It is only related to Trade Model Path. A mockup (non working) implementation is provided and supports a bit of recursion so that it can handle the case of transformations. Various security declarations were added.
Next commit will make this work if everyone agrees on interfaces.

Revision 36464 - Directory Listing
Modified Sun Jun 20 20:54:26 2010 UTC (2 years, 11 months ago) by jp
Business Path has beed splitted in 2 parts. A first part which is only used to control completation of trade phases and build process. A second part which is only used to define arrows, quantity shares and dates on amounts generated by amount generators. The first part is a predicate but no longer a Path (no arrow, no quantity, no delay, etc.). It is thus renamed to Business Link. The second part is a Path since it defines an Arrow, a quantity, a lead time, etc. It is thus renamed to Trade Model Path. 
It is now time to review in detail all interfaces. In particular those interfaces on Business Link related to time management many no longer be needed since it is simpler to lookup simulation. However, time management must be handled at Business Process level as a helper method for rules which need to calculate dates based on Business Links and/or Trade Model Path.

Revision 36068 - Directory Listing
Modified Mon Jun 7 21:17:12 2010 UTC (2 years, 11 months ago) by jp
Removed legacy code.

Revision 36067 - Directory Listing
Modified Mon Jun 7 21:12:20 2010 UTC (2 years, 11 months ago) by jp
Moved isFrozen to simulation movement

Revision 36066 - Directory Listing
Modified Mon Jun 7 21:10:32 2010 UTC (2 years, 11 months ago) by jp
Added comments to decide whether OpenOrderLine should be or not a subclass of OrderLine

Revision 36065 - Directory Listing
Modified Mon Jun 7 21:08:05 2010 UTC (2 years, 11 months ago) by jp
Hacked to work forcibly.

Revision 36056 - Directory Listing
Modified Mon Jun 7 20:45:53 2010 UTC (2 years, 11 months ago) by jp
Hack was added to "make things pass". But in reality, new class is needed for Generated Movements.

Revision 36055 - Directory Listing
Modified Mon Jun 7 20:41:46 2010 UTC (2 years, 11 months ago) by jp
Added comments, changed definition of explanation parameters, removed legacy code.

Revision 36054 - Directory Listing
Modified Mon Jun 7 20:17:27 2010 UTC (2 years, 11 months ago) by jp
Extended getCompletionDate to support the case in which the CompletionDate is found on the delivery line, whenever simulation movement has not yet been built (but is it really useful ?)

Revision 36053 - Directory Listing
Modified Mon Jun 7 20:10:57 2010 UTC (2 years, 11 months ago) by jp
Remove getBusinessProcessValue since this makes no sense in the context of multi BPM. It is redundant with asComposedDocument and/or asUnionBusinessProcess

Revision 35787 - Directory Listing
Modified Mon May 31 13:53:24 2010 UTC (2 years, 11 months ago) by aurel
fix import

Revision 35764 - Directory Listing
Modified Sun May 30 08:25:34 2010 UTC (2 years, 11 months ago) by jp
Improved documentation

Revision 35763 - Directory Listing
Modified Sun May 30 08:25:00 2010 UTC (2 years, 11 months ago) by jp
Added APIs to handle initial and final states (such APIs could be extended by the way). Business Process now supports the generation of movements list for a given amount in a given trade phase. This was made by a mixin before (movement generator) but this is unrelated to movemet generators. Appropriate locationis Business Process since this is a core feature.

Revision 35762 - Directory Listing
Modified Sat May 29 13:01:46 2010 UTC (2 years, 11 months ago) by jp
Added missing self. Finished minimal implementation with comments to explain remaining work to be done.

Revision 35585 - Directory Listing
Modified Mon May 24 20:47:27 2010 UTC (2 years, 11 months ago) by jp
Some more ideas where BPM is heading to

Revision 35546 - Directory Listing
Modified Sat May 22 19:35:50 2010 UTC (2 years, 11 months ago) by jp
A first idea of how BusinessPath will look at the end (after garbage removal and refactoring). The ExplanationCache will be a central part of implemenation (and may need some interfaces).

Revision 35543 - Directory Listing
Modified Sat May 22 08:43:30 2010 UTC (3 years ago) by jp
Refactored interfaces related to business process management and simulation. Nexedi refactoring should include "6th element" idea if possible, once it is better understood. 

Revision 35111 - Directory Listing
Modified Fri May 7 12:37:14 2010 UTC (3 years ago) by jm
Sync with trunk@35094

Revision 34977 - Directory Listing
Modified Tue May 4 14:34:18 2010 UTC (3 years ago) by jp
Remove shared code

Revision 34961 - Directory Listing
Modified Mon May 3 17:10:44 2010 UTC (3 years ago) by jp
some comments added in relation with code duplication

Revision 34957 - Directory Listing
Modified Mon May 3 16:43:36 2010 UTC (3 years ago) by jp
Moved PeriodicityMixin from Alarm to explicit mixin

Revision 34932 - Directory Listing
Modified Mon May 3 12:26:36 2010 UTC (3 years ago) by seb
remove getPortalBusinessStateTypeList method and
business_state interface

Revision 34929 - Directory Listing
Modified Mon May 3 10:21:56 2010 UTC (3 years ago) by jp
Added some notes

Revision 34926 - Directory Listing
Modified Mon May 3 09:57:18 2010 UTC (3 years ago) by jp
Draft code (still close to pseudo code)

Revision 34922 - Directory Listing
Modified Mon May 3 08:49:43 2010 UTC (3 years ago) by jm
Sync with trunk@34913

Conflicts:
	products/ERP5/Document/TradeCondition.py

Revision 34887 - Directory Listing
Modified Fri Apr 30 11:01:05 2010 UTC (3 years ago) by seb
put back task propertysheet for trade condition. It was there since
years because trade condition was using class Path before. But
we will to consider if it makes sense to keep it (cleaning required,
but it has a lower priority)

Revision 34872 - Directory Listing
Modified Fri Apr 30 08:05:27 2010 UTC (3 years ago) by seb
revert a change of variable name made by mistake

Revision 34870 - Directory Listing
Modified Fri Apr 30 08:04:17 2010 UTC (3 years ago) by seb
remove some remaining usages of Business State

Revision 34857 - Directory Listing
Modified Thu Apr 29 13:29:58 2010 UTC (3 years ago) by jm
Fix compatibility code for TradeCondition.getAggregatedAmountList

Revision 34839 - Directory Listing
Added Wed Apr 28 17:24:23 2010 UTC (3 years ago) by seb
* Move mosts methods of BusinessState to Business Process
* remove usage of business states in testBPMCore
* modify BusinessPath in order to work with successor
  and predecessor as categories instead of business state


  ViewVC Help
Powered by ViewVC 1.1.2