diff --git a/product/ERP5/Document/AmortisationRule.py b/bt5/erp5_immobilisation/DocumentTemplateItem/portal_components/document.erp5.AmortisationRule.py similarity index 100% rename from product/ERP5/Document/AmortisationRule.py rename to bt5/erp5_immobilisation/DocumentTemplateItem/portal_components/document.erp5.AmortisationRule.py diff --git a/bt5/erp5_immobilisation/DocumentTemplateItem/portal_components/document.erp5.AmortisationRule.xml b/bt5/erp5_immobilisation/DocumentTemplateItem/portal_components/document.erp5.AmortisationRule.xml new file mode 100644 index 0000000000000000000000000000000000000000..458f093da3b41b68584275c1d3420dc880da0ca6 --- /dev/null +++ b/bt5/erp5_immobilisation/DocumentTemplateItem/portal_components/document.erp5.AmortisationRule.xml @@ -0,0 +1,665 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Document Component" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>default_reference</string> </key> + <value> <string>AmortisationRule</string> </value> + </item> + <item> + <key> <string>default_source_reference</string> </key> + <value> <string>Products.ERP5.Document.AmortisationRule</string> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>document.erp5.AmortisationRule</string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Document Component</string> </value> + </item> + <item> + <key> <string>sid</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>text_content_error_message</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>text_content_warning_message</string> </key> + <value> + <tuple> + <string>W: 41, 0: Bad indentation. Found 4 spaces, expected 2 (bad-indentation)</string> + <string>W: 46, 0: Bad indentation. Found 4 spaces, expected 2 (bad-indentation)</string> + <string>W: 47, 0: Bad indentation. Found 4 spaces, expected 2 (bad-indentation)</string> + <string>W: 48, 0: Bad indentation. Found 4 spaces, expected 2 (bad-indentation)</string> + <string>W: 51, 0: Bad indentation. Found 4 spaces, expected 2 (bad-indentation)</string> + <string>W: 52, 0: Bad indentation. Found 4 spaces, expected 2 (bad-indentation)</string> + <string>W: 54, 0: Bad indentation. Found 4 spaces, expected 2 (bad-indentation)</string> + <string>W: 75, 0: Bad indentation. Found 4 spaces, expected 2 (bad-indentation)</string> + <string>W: 76, 0: Bad indentation. Found 4 spaces, expected 2 (bad-indentation)</string> + <string>W: 77, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string> + <string>W: 85, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string> + <string>W: 87, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string> + <string>W: 88, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string> + <string>W: 90, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string> + <string>W: 91, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W: 99, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:100, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:101, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:102, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:103, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:104, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:106, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:108, 0: Bad indentation. Found 16 spaces, expected 12 (bad-indentation)</string> + <string>W:110, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:111, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string> + <string>W:112, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:113, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:114, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:115, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:116, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:118, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string> + <string>W:121, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:131, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:132, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:133, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:134, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:136, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:141, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:142, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:146, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:147, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string> + <string>W:152, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:159, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:160, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:161, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:162, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:163, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:164, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:166, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:168, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:169, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:170, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:171, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:172, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string> + <string>W:173, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string> + <string>W:174, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string> + <string>W:175, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:178, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:179, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:180, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:181, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:182, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string> + <string>W:183, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string> + <string>W:184, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string> + <string>W:185, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string> + <string>W:186, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string> + <string>W:187, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:192, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:193, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:196, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:198, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:199, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:202, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:204, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string> + <string>W:208, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:213, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:214, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:215, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:216, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:221, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:224, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string> + <string>W:228, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:233, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:234, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:235, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:236, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:237, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string> + <string>W:241, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string> + <string>W:242, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string> + <string>W:244, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:245, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:246, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:247, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:248, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string> + <string>W:249, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:250, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:251, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:252, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:256, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:257, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:259, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:265, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string> + <string>W:267, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string> + <string>W:269, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string> + <string>W:270, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:273, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string> + <string>W:274, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string> + <string>W:275, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string> + <string>W:276, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string> + <string>W:277, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:278, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:279, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:280, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:281, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:282, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:283, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:284, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:290, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:295, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string> + <string>W:296, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string> + <string>W:297, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string> + <string>W:298, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string> + <string>W:299, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:300, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:301, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:302, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:303, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:306, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:307, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:312, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:323, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:325, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:326, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:327, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:329, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string> + <string>W:333, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string> + <string>W:334, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string> + <string>W:336, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:337, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:338, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:339, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:340, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:341, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:343, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:344, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:345, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:346, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:347, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:350, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string> + <string>W:351, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:352, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:353, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:354, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string> + <string>W:357, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string> + <string>W:358, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string> + <string>W:359, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:360, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:361, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string> + <string>W:362, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:363, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string> + <string>W:365, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:366, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:369, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:370, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:371, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string> + <string>W:372, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string> + <string>W:373, 0: Bad indentation. Found 16 spaces, expected 14 (bad-indentation)</string> + <string>W:374, 0: Bad indentation. Found 16 spaces, expected 14 (bad-indentation)</string> + <string>W:376, 0: Bad indentation. Found 16 spaces, expected 14 (bad-indentation)</string> + <string>W:378, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:379, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:383, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:384, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:385, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:386, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:387, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:388, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:389, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:390, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:391, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:392, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:393, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string> + <string>W:394, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string> + <string>W:395, 0: Bad indentation. Found 16 spaces, expected 14 (bad-indentation)</string> + <string>W:397, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:400, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string> + <string>W:401, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string> + <string>W:402, 0: Bad indentation. Found 16 spaces, expected 14 (bad-indentation)</string> + <string>W:403, 0: Bad indentation. Found 16 spaces, expected 14 (bad-indentation)</string> + <string>W:405, 0: Bad indentation. Found 18 spaces, expected 16 (bad-indentation)</string> + <string>W:406, 0: Bad indentation. Found 18 spaces, expected 16 (bad-indentation)</string> + <string>W:411, 0: Bad indentation. Found 18 spaces, expected 16 (bad-indentation)</string> + <string>W:412, 0: Bad indentation. Found 18 spaces, expected 16 (bad-indentation)</string> + <string>W:413, 0: Bad indentation. Found 16 spaces, expected 14 (bad-indentation)</string> + <string>W:415, 0: Bad indentation. Found 18 spaces, expected 16 (bad-indentation)</string> + <string>W:416, 0: Bad indentation. Found 18 spaces, expected 16 (bad-indentation)</string> + <string>W:417, 0: Bad indentation. Found 18 spaces, expected 16 (bad-indentation)</string> + <string>W:419, 0: Bad indentation. Found 18 spaces, expected 16 (bad-indentation)</string> + <string>W:421, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string> + <string>W:422, 0: Bad indentation. Found 16 spaces, expected 14 (bad-indentation)</string> + <string>W:423, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string> + <string>W:424, 0: Bad indentation. Found 16 spaces, expected 14 (bad-indentation)</string> + <string>W:428, 0: Bad indentation. Found 16 spaces, expected 14 (bad-indentation)</string> + <string>W:429, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:434, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string> + <string>W:435, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string> + <string>W:436, 0: Bad indentation. Found 16 spaces, expected 14 (bad-indentation)</string> + <string>W:437, 0: Bad indentation. Found 16 spaces, expected 14 (bad-indentation)</string> + <string>W:438, 0: Bad indentation. Found 16 spaces, expected 14 (bad-indentation)</string> + <string>W:443, 0: Bad indentation. Found 16 spaces, expected 14 (bad-indentation)</string> + <string>W:444, 0: Bad indentation. Found 16 spaces, expected 14 (bad-indentation)</string> + <string>W:445, 0: Bad indentation. Found 16 spaces, expected 14 (bad-indentation)</string> + <string>W:447, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string> + <string>W:448, 0: Bad indentation. Found 16 spaces, expected 14 (bad-indentation)</string> + <string>W:449, 0: Bad indentation. Found 18 spaces, expected 16 (bad-indentation)</string> + <string>W:450, 0: Bad indentation. Found 18 spaces, expected 16 (bad-indentation)</string> + <string>W:455, 0: Bad indentation. Found 18 spaces, expected 16 (bad-indentation)</string> + <string>W:456, 0: Bad indentation. Found 18 spaces, expected 16 (bad-indentation)</string> + <string>W:457, 0: Bad indentation. Found 16 spaces, expected 14 (bad-indentation)</string> + <string>W:459, 0: Bad indentation. Found 18 spaces, expected 16 (bad-indentation)</string> + <string>W:460, 0: Bad indentation. Found 18 spaces, expected 16 (bad-indentation)</string> + <string>W:461, 0: Bad indentation. Found 18 spaces, expected 16 (bad-indentation)</string> + <string>W:463, 0: Bad indentation. Found 18 spaces, expected 16 (bad-indentation)</string> + <string>W:464, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string> + <string>W:466, 0: Bad indentation. Found 16 spaces, expected 14 (bad-indentation)</string> + <string>W:470, 0: Bad indentation. Found 16 spaces, expected 14 (bad-indentation)</string> + <string>W:474, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:475, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string> + <string>W:476, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:477, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string> + <string>W:479, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:483, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:487, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:491, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string> + <string>W:492, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:493, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:494, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:495, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:499, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:503, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string> + <string>W:504, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:508, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string> + <string>W:509, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:512, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:515, 0: Bad indentation. Found 4 spaces, expected 2 (bad-indentation)</string> + <string>W:516, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string> + <string>W:524, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string> + <string>W:525, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string> + <string>W:526, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string> + <string>W:527, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:528, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:529, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:531, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string> + <string>W:532, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string> + <string>W:533, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:540, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:541, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:542, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:543, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string> + <string>W:546, 0: Bad indentation. Found 4 spaces, expected 2 (bad-indentation)</string> + <string>W:547, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string> + <string>W:556, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string> + <string>W:559, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:560, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:561, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:562, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:563, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:564, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:565, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:566, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:568, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string> + <string>W:569, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string> + <string>W:570, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:571, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:574, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:575, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:576, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:577, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:578, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:579, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:580, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:581, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:582, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string> + <string>W:583, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:584, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string> + <string>W:585, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:586, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string> + <string>W:587, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string> + <string>W:588, 0: Bad indentation. Found 16 spaces, expected 14 (bad-indentation)</string> + <string>W:589, 0: Bad indentation. Found 18 spaces, expected 16 (bad-indentation)</string> + <string>W:593, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:594, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:595, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:596, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:597, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:598, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:599, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string> + <string>W:600, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string> + <string>W:601, 0: Bad indentation. Found 16 spaces, expected 14 (bad-indentation)</string> + <string>W:602, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string> + <string>W:604, 0: Bad indentation. Found 16 spaces, expected 14 (bad-indentation)</string> + <string>W:605, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string> + <string>W:606, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string> + <string>W:607, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string> + <string>W:610, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:611, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string> + <string>W:612, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:613, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string> + <string>W:614, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:615, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:616, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:617, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string> + <string>W:618, 0: Bad indentation. Found 16 spaces, expected 14 (bad-indentation)</string> + <string>W:623, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:624, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:625, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string> + <string>W:626, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string> + <string>W:627, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string> + <string>W:628, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string> + <string>W:629, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string> + <string>W:630, 0: Bad indentation. Found 16 spaces, expected 14 (bad-indentation)</string> + <string>W:631, 0: Bad indentation. Found 16 spaces, expected 14 (bad-indentation)</string> + <string>W:632, 0: Bad indentation. Found 18 spaces, expected 16 (bad-indentation)</string> + <string>W:633, 0: Bad indentation. Found 18 spaces, expected 16 (bad-indentation)</string> + <string>W:634, 0: Bad indentation. Found 18 spaces, expected 16 (bad-indentation)</string> + <string>W:635, 0: Bad indentation. Found 18 spaces, expected 16 (bad-indentation)</string> + <string>W:636, 0: Bad indentation. Found 18 spaces, expected 16 (bad-indentation)</string> + <string>W:637, 0: Bad indentation. Found 18 spaces, expected 16 (bad-indentation)</string> + <string>W:638, 0: Bad indentation. Found 18 spaces, expected 16 (bad-indentation)</string> + <string>W:639, 0: Bad indentation. Found 20 spaces, expected 18 (bad-indentation)</string> + <string>W:640, 0: Bad indentation. Found 20 spaces, expected 18 (bad-indentation)</string> + <string>W:642, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string> + <string>W:643, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string> + <string>W:644, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string> + <string>W:648, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:649, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:650, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:651, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:652, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:662, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string> + <string>W:663, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string> + <string>W:664, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string> + <string>W:665, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string> + <string>W:666, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string> + <string>W:667, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:668, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:669, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:670, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:671, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:672, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:673, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:674, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:676, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string> + <string>W:680, 0: Bad indentation. Found 4 spaces, expected 2 (bad-indentation)</string> + <string>W:681, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string> + <string>W:685, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string> + <string>W:686, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string> + <string>W:687, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:688, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:689, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string> + <string>W:690, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string> + <string>W:691, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:692, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:693, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string> + <string>W:696, 0: Bad indentation. Found 4 spaces, expected 2 (bad-indentation)</string> + <string>W:697, 0: Bad indentation. Found 4 spaces, expected 2 (bad-indentation)</string> + <string>W:698, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string> + <string>W:703, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string> + <string>W:705, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:707, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string> + <string>W:709, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:711, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string> + <string>W:713, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:715, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string> + <string>W:717, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:720, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string> + <string>W:722, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:723, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:724, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:727, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string> + <string>W:729, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:730, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:731, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:732, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:738, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:740, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string> + <string>W:741, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string> + <string>W:742, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:744, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:745, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:746, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:747, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:748, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:749, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:750, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:751, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:752, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:753, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:754, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:755, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:756, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:758, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:759, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:779, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:780, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:781, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:782, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:783, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:784, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:785, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:786, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:787, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:788, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:789, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:790, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:791, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:792, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:793, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:794, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:795, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:796, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:797, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:798, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:799, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:800, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:803, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string> + <string>W:804, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string> + <string>W:805, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:806, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string> + <string>W:810, 0: Bad indentation. Found 16 spaces, expected 14 (bad-indentation)</string> + <string>W:811, 0: Bad indentation. Found 16 spaces, expected 14 (bad-indentation)</string> + <string>W:812, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string> + <string>W:813, 0: Bad indentation. Found 16 spaces, expected 14 (bad-indentation)</string> + <string>W:814, 0: Bad indentation. Found 18 spaces, expected 16 (bad-indentation)</string> + <string>W:815, 0: Bad indentation. Found 16 spaces, expected 14 (bad-indentation)</string> + <string>W:816, 0: Bad indentation. Found 18 spaces, expected 16 (bad-indentation)</string> + <string>W:817, 0: Bad indentation. Found 20 spaces, expected 18 (bad-indentation)</string> + <string>W:819, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:820, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:821, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:822, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:825, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:826, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:827, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:828, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:829, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:830, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:831, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:832, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:834, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:835, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:836, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:837, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:838, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:864, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:865, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:866, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:902, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:903, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:904, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:906, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:907, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:908, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:909, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:910, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string> + <string>W:914, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:924, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:925, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:926, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:929, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:930, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:931, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:932, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:933, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string> + <string>W:937, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:945, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:947, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:951, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:952, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:953, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:954, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:955, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:956, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:957, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:958, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string> + <string>W:959, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:960, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:962, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:963, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:964, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:965, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:966, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string> + <string>W:968, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:969, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string> + <string>W:970, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string> + <string>W:971, 0: Bad indentation. Found 16 spaces, expected 14 (bad-indentation)</string> + <string>W:972, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string> + <string>W:973, 0: Bad indentation. Found 16 spaces, expected 14 (bad-indentation)</string> + <string>W:990, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:991, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:992, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:995, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:996, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:997, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:998, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:999, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string> + <string>W:1018, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:1019, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:1021, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:1023, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:1026, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:1027, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:1034, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:1035, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:1036, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:1039, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:1048, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:1049, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:1050, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:1051, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:1052, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:1053, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:1054, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string> + <string>W:1055, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string> + <string>W:1056, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string> + <string>W:1057, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string> + <string>W:1058, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string> + <string>W:1059, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string> + <string>W:1060, 0: Bad indentation. Found 16 spaces, expected 14 (bad-indentation)</string> + <string>W:1061, 0: Bad indentation. Found 16 spaces, expected 14 (bad-indentation)</string> + <string>W:1062, 0: Bad indentation. Found 16 spaces, expected 14 (bad-indentation)</string> + <string>W:1063, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string> + <string>W:1064, 0: Bad indentation. Found 16 spaces, expected 14 (bad-indentation)</string> + <string>W:1065, 0: Bad indentation. Found 16 spaces, expected 14 (bad-indentation)</string> + <string>W:1066, 0: Bad indentation. Found 16 spaces, expected 14 (bad-indentation)</string> + <string>W:1067, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string> + <string>W:1068, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string> + <string>W:1071, 0: Bad indentation. Found 4 spaces, expected 2 (bad-indentation)</string> + <string>W:1072, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string> + <string>W:1074, 0: Bad indentation. Found 4 spaces, expected 2 (bad-indentation)</string> + <string>W:1075, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string> + <string>W:1077, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string> + <string>W:1078, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string> + <string>W:1079, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string> + <string>W: 76, 4: Dangerous default value {} as argument (dangerous-default-value)</string> + <string>W: 76, 4: Arguments number differs from overridden \'expand\' method (arguments-differ)</string> + <string>W:142, 14: Redefining built-in \'property\' (redefined-builtin)</string> + <string>W:297, 6: Unused variable \'portal_workflow\' (unused-variable)</string> + <string>W:556, 6: Dangerous default value [] as argument (dangerous-default-value)</string> + <string>W:623, 14: Unused variable \'movement_type\' (unused-variable)</string> + <string>W:703, 6: Dangerous default value [] as argument (dangerous-default-value)</string> + <string>W:707, 6: Dangerous default value [] as argument (dangerous-default-value)</string> + <string>W:711, 6: Dangerous default value [] as argument (dangerous-default-value)</string> + <string>W:715, 6: Dangerous default value [] as argument (dangerous-default-value)</string> + <string>W:727, 6: Dangerous default value [] as argument (dangerous-default-value)</string> + <string>W:827, 10: Unused variable \'previous_start_date\' (unused-variable)</string> + <string>W:750, 10: Unused variable \'disposal_price\' (unused-variable)</string> + <string>W:747, 10: Unused variable \'initial_method\' (unused-variable)</string> + <string>W:829, 10: Unused variable \'previous_start_movement\' (unused-variable)</string> + <string>W:1077, 6: Unreachable code (unreachable)</string> + </tuple> + </value> + </item> + <item> + <key> <string>version</string> </key> + <value> <string>erp5</string> </value> + </item> + <item> + <key> <string>workflow_history</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary> + <item> + <key> <string>component_validation_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.Workflow"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_log</string> </key> + <value> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>validate</string> </value> + </item> + <item> + <key> <string>validation_state</string> </key> + <value> <string>validated</string> </value> + </item> + </dictionary> + </list> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/Document/Immobilisation.py b/bt5/erp5_immobilisation/DocumentTemplateItem/portal_components/document.erp5.Immobilisation.py similarity index 100% rename from product/ERP5/Document/Immobilisation.py rename to bt5/erp5_immobilisation/DocumentTemplateItem/portal_components/document.erp5.Immobilisation.py diff --git a/bt5/erp5_immobilisation/DocumentTemplateItem/portal_components/document.erp5.Immobilisation.xml b/bt5/erp5_immobilisation/DocumentTemplateItem/portal_components/document.erp5.Immobilisation.xml new file mode 100644 index 0000000000000000000000000000000000000000..4fa74e453a68ac8d79c20e96e5c61f38ab64818e --- /dev/null +++ b/bt5/erp5_immobilisation/DocumentTemplateItem/portal_components/document.erp5.Immobilisation.xml @@ -0,0 +1,104 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Document Component" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>default_reference</string> </key> + <value> <string>Immobilisation</string> </value> + </item> + <item> + <key> <string>default_source_reference</string> </key> + <value> <string>Products.ERP5.Document.Immobilisation</string> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>document.erp5.Immobilisation</string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Document Component</string> </value> + </item> + <item> + <key> <string>sid</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>text_content_error_message</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>text_content_warning_message</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>version</string> </key> + <value> <string>erp5</string> </value> + </item> + <item> + <key> <string>workflow_history</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary> + <item> + <key> <string>component_validation_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.Workflow"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_log</string> </key> + <value> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>validate</string> </value> + </item> + <item> + <key> <string>validation_state</string> </key> + <value> <string>validated</string> </value> + </item> + </dictionary> + </list> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/Document/ImmobilisationLine.py b/bt5/erp5_immobilisation/DocumentTemplateItem/portal_components/document.erp5.ImmobilisationLine.py similarity index 100% rename from product/ERP5/Document/ImmobilisationLine.py rename to bt5/erp5_immobilisation/DocumentTemplateItem/portal_components/document.erp5.ImmobilisationLine.py diff --git a/bt5/erp5_immobilisation/DocumentTemplateItem/portal_components/document.erp5.ImmobilisationLine.xml b/bt5/erp5_immobilisation/DocumentTemplateItem/portal_components/document.erp5.ImmobilisationLine.xml new file mode 100644 index 0000000000000000000000000000000000000000..003f3a9b91cf5abdfe382e26cec1836094871d8e --- /dev/null +++ b/bt5/erp5_immobilisation/DocumentTemplateItem/portal_components/document.erp5.ImmobilisationLine.xml @@ -0,0 +1,110 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Document Component" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>default_reference</string> </key> + <value> <string>ImmobilisationLine</string> </value> + </item> + <item> + <key> <string>default_source_reference</string> </key> + <value> <string>Products.ERP5.Document.ImmobilisationLine</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>document.erp5.ImmobilisationLine</string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Document Component</string> </value> + </item> + <item> + <key> <string>sid</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>text_content_error_message</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>text_content_warning_message</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>version</string> </key> + <value> <string>erp5</string> </value> + </item> + <item> + <key> <string>workflow_history</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary> + <item> + <key> <string>component_validation_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.Workflow"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_log</string> </key> + <value> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>validate</string> </value> + </item> + <item> + <key> <string>validation_state</string> </key> + <value> <string>validated</string> </value> + </item> + </dictionary> + </list> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/tests/testImmobilisation.py b/bt5/erp5_immobilisation/TestTemplateItem/portal_components/test.erp5.testImmobilisation.py similarity index 98% rename from product/ERP5/tests/testImmobilisation.py rename to bt5/erp5_immobilisation/TestTemplateItem/portal_components/test.erp5.testImmobilisation.py index 93fedfcafa943543e61a7bb3f5bc4729d686b772..b8d75e9e16b9da35272628d70cea491a36b119e6 100644 --- a/product/ERP5/tests/testImmobilisation.py +++ b/bt5/erp5_immobilisation/TestTemplateItem/portal_components/test.erp5.testImmobilisation.py @@ -72,28 +72,6 @@ class TestImmobilisationMixin(ERP5TypeTestCase): """ self.commit() - def getBusinessTemplateList(self): - """ - Return the list of business templates. - - """ - return ("erp5_core_proxy_field_legacy", - "erp5_base", - "erp5_pdm",# Needed by accounting - "erp5_simulation", - "erp5_trade", - "erp5_accounting", - "erp5_invoicing", - "erp5_simplified_invoicing", - "erp5_immobilisation", - "erp5_computer_immobilisation", # In order to use items - 'erp5_configurator_standard_trade_template', - 'erp5_configurator_standard_accounting_template', - 'erp5_configurator_standard_invoicing_template', - "erp5_simulation_test", - "erp5_movement_table_catalog" # ImmobilisationItem.py uses movement table - ) - def getRuleTool(self): return getattr(self.getPortal(), 'portal_rules', None) def getAccountingModule(self): @@ -164,7 +142,7 @@ class TestImmobilisationMixin(ERP5TypeTestCase): assignment.open() person.validate() - def updateRoleMappings(self, portal_type_list=[]): + def updateRoleMappings(self, portal_type_list=()): """ Update the local roles in existing objects. """ @@ -172,7 +150,7 @@ class TestImmobilisationMixin(ERP5TypeTestCase): for portal_type in portal_type_list: for brain in portal_catalog(portal_type = portal_type): obj = brain.getObject() - userdb_path, user_id = obj.getOwnerTuple() + _, user_id = obj.getOwnerTuple() obj.updateLocalRolesOnSecurityGroups(user_name = user_id) #obj.assignRoleToSecurityGroup(user_name = user_id) @@ -188,26 +166,6 @@ class TestImmobilisationMixin(ERP5TypeTestCase): self.createCategories() - #Assert default security Value - - list_module = [ 'Inventory Module', - 'Purchase Packing List Module', - 'Internal Packing List Module', - 'Sale Packing List Module', - 'Building Module', - 'Incorporeal Item Module', - 'Reevaluation Module', - 'Restoration Module', - self.getAccountingModule().getPortalType(), - self.getOrganisationModule().getPortalType(), - self.getItemModule().getPortalType(), - self.getPackingListModule().getPortalType(), - self.getInventoryModule().getPortalType(), - self.getAccountModule().getPortalType(), - self.getCurrencyModule().getPortalType(), - self.getPersonModule().getPortalType() - ] - # Then add new components self.createCurrency() self.createOrganisationList() @@ -403,17 +361,17 @@ class TestImmobilisationMixin(ERP5TypeTestCase): def stepCreatePackingList(self, sequence=None, sequence_list=None, **kw): property_dict = {} - for property in ('source_section','destination_section','datetime','destination'): - value_list = sequence.get(property) + for property_ in ('source_section','destination_section','datetime','destination'): + value_list = sequence.get(property_) if value_list is not None: - if type(value_list) == type([]): + if isinstance(value_list, list): value = value_list[0] value_list.remove(value) else: value = value_list else: value = value_list - property_dict[property] = value + property_dict[property_] = value pl_module = self.getPackingListModule() pl = pl_module.newContent(portal_type = self.packing_list_portal_type) pl.edit( source_section_value = property_dict['source_section'], @@ -843,9 +801,9 @@ class TestImmobilisationMixin(ERP5TypeTestCase): self.stepCreatePackingList(sequence=sequence) self.stepAggregateItems(sequence=sequence) self.stepDeliverPackingList(sequence=sequence) - for property in ('amortisation_start_price','amortisation_duration','immobilisation_vat', - 'extra_cost_price','disposal_price'): - del parameter_dict[property] + for property_ in ('amortisation_start_price','amortisation_duration','immobilisation_vat', + 'extra_cost_price','disposal_price'): + del parameter_dict[property_] parameter_dict['amortisation_method'] = NO_CHANGE_METHOD sequence.edit(datetime = DateTime('2001/01/01'), parameter_dict = parameter_dict, @@ -903,11 +861,11 @@ class TestImmobilisationMixin(ERP5TypeTestCase): self.stepAggregateItems(sequence=sequence) self.stepDeliverPackingList(sequence=sequence) self.tic() - for property in ('amortisation_start_price','amortisation_duration','immobilisation_vat', - 'extra_cost_price','disposal_price'): - del parameter_dict[property] - for property in self.account_dict.keys(): - del parameter_dict[property] + for property_ in ('amortisation_start_price','amortisation_duration','immobilisation_vat', + 'extra_cost_price','disposal_price'): + del parameter_dict[property_] + for property_ in self.account_dict.keys(): + del parameter_dict[property_] parameter_dict.update(self.extra_monthly_dict) sequence.edit(datetime = DateTime('2002/03/01'), parameter_dict = parameter_dict, @@ -1138,10 +1096,10 @@ class TestImmobilisationMixin(ERP5TypeTestCase): c_value = c_period[key] is_float = 0 try: - if type(c_value) != type(DateTime()): + if not isinstance(c_value, DateTime): c_value=float(c_value) is_float = 1 - except: + except Exception: pass if is_float: self.assertEqual(round(c_value,2),e_value) @@ -2108,10 +2066,10 @@ class TestImmobilisationMixin(ERP5TypeTestCase): c_value = getattr(c_movement,key)() is_float = 0 try: - if type(c_value) != type(DateTime()): + if not isinstance(c_value, DateTime): c_value=float(c_value) is_float = 1 - except: + except Exception: pass if is_float: wrong_movement = (round(c_value,2) != round(e_value,2)) @@ -2144,7 +2102,7 @@ class TestImmobilisationMixin(ERP5TypeTestCase): #LOG('More expected movements than calculated ! Remaining expected ones are', 0, e_simulation_movement_list) self.assertEqual(len(e_simulation_movement_list),0) - def _buildExpectedTransaction(self, date, source_section, destination_section, causality_state, causality_list=[]): + def _buildExpectedTransaction(self, date, source_section, destination_section, causality_state, causality_list): self.id_transaction+=1 r_dict = {'id':self.id_transaction,'start_date':DateTime(date), 'stop_date':DateTime(date), 'resource':'currency_module/EUR', 'line_list':[], @@ -2952,14 +2910,14 @@ class TestImmobilisationMixin(ERP5TypeTestCase): #LOG('c_value : ',0,c_value) is_float = 0 try: - if type(c_value) != type(DateTime()): + if not isinstance(c_value, DateTime): c_value=float(c_value) is_float = 1 - except: + except Exception: pass - if type(c_value) == type([]): + if isinstance(c_value, list): c_value.sort(key=lambda x: x.getId()) - if type(e_value) == type([]): + if isinstance(e_value, list): e_value.sort(key=lambda x: x.getId()) if is_float: wrong_transaction = (round(c_value,2) != round(e_value,2)) @@ -2997,10 +2955,10 @@ class TestImmobilisationMixin(ERP5TypeTestCase): c_value = getattr(c_line,key)() is_float = 0 try: - if type(c_value) != type(DateTime()): + if not isinstance(c_value, DateTime): c_value=float(c_value) is_float = 1 - except: + except Exception: pass if is_float: wrong_line = (round(c_value,2) != round(e_value,2)) diff --git a/bt5/erp5_immobilisation/TestTemplateItem/portal_components/test.erp5.testImmobilisation.xml b/bt5/erp5_immobilisation/TestTemplateItem/portal_components/test.erp5.testImmobilisation.xml new file mode 100644 index 0000000000000000000000000000000000000000..2e8655f320257c71e840effe48b2ce90f93f7b0e --- /dev/null +++ b/bt5/erp5_immobilisation/TestTemplateItem/portal_components/test.erp5.testImmobilisation.xml @@ -0,0 +1,110 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="Test Component" module="erp5.portal_type"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>default_reference</string> </key> + <value> <string>testImmobilisation</string> </value> + </item> + <item> + <key> <string>default_source_reference</string> </key> + <value> <string>Products.ERP5.tests.testImmobilisation</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>test.erp5.testImmobilisation</string> </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Test Component</string> </value> + </item> + <item> + <key> <string>sid</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>text_content_error_message</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>text_content_warning_message</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>version</string> </key> + <value> <string>erp5</string> </value> + </item> + <item> + <key> <string>workflow_history</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <global name="PersistentMapping" module="Persistence.mapping"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary> + <item> + <key> <string>component_validation_workflow</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="WorkflowHistoryList" module="Products.ERP5Type.Workflow"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_log</string> </key> + <value> + <list> + <dictionary> + <item> + <key> <string>action</string> </key> + <value> <string>validate</string> </value> + </item> + <item> + <key> <string>validation_state</string> </key> + <value> <string>validated</string> </value> + </item> + </dictionary> + </list> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_immobilisation/bt/template_document_id_list b/bt5/erp5_immobilisation/bt/template_document_id_list index 5900248a2d1393b8eabc7bc4c8049c8d3f493a45..bda1e403b0822cfe27aaf96e9dce18ca083b7e46 100644 --- a/bt5/erp5_immobilisation/bt/template_document_id_list +++ b/bt5/erp5_immobilisation/bt/template_document_id_list @@ -1 +1,4 @@ -document.erp5.ImmobilisableItem \ No newline at end of file +document.erp5.AmortisationRule +document.erp5.ImmobilisableItem +document.erp5.Immobilisation +document.erp5.ImmobilisationLine \ No newline at end of file diff --git a/bt5/erp5_immobilisation/bt/template_test_id_list b/bt5/erp5_immobilisation/bt/template_test_id_list new file mode 100644 index 0000000000000000000000000000000000000000..9dcdf0c1ac2b3a7842e439647e41ed46f22b680a --- /dev/null +++ b/bt5/erp5_immobilisation/bt/template_test_id_list @@ -0,0 +1 @@ +test.erp5.testImmobilisation \ No newline at end of file diff --git a/bt5/erp5_immobilisation/bt/test_dependency_list b/bt5/erp5_immobilisation/bt/test_dependency_list new file mode 100644 index 0000000000000000000000000000000000000000..b288db42bf9dbdf1eb21d16e5711f8d79f63ebf2 --- /dev/null +++ b/bt5/erp5_immobilisation/bt/test_dependency_list @@ -0,0 +1,16 @@ +erp5_full_text_mroonga_catalog +erp5_core_proxy_field_legacy +erp5_base +erp5_pdm +erp5_simulation +erp5_trade +erp5_accounting +erp5_invoicing +erp5_simplified_invoicing +erp5_immobilisation +erp5_computer_immobilisation +erp5_configurator_standard_trade_template +erp5_configurator_standard_accounting_template +erp5_configurator_standard_invoicing_template +erp5_simulation_test +erp5_movement_table_catalog \ No newline at end of file