- 31 Jan, 2008 16 commits
-
-
Aurel authored
when sending to manual validation, we must control all the document as if it's usual way except account inventory git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18950 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Fabien Morin authored
This fix permit to display many pages and not just the first with all fields on it like it was before this revision. The first group is renamed because the first element can't be removed - remove a code part wich was in the if and else block, and put it just after, that permit to not have a duplicate code bloc git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18949 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Vincent Pelletier authored
Check that module is not empty after creating a document instead of checking for a specific number of documents. Create createOutgoingLine from stepCreateOutgoingLine to factorize code with new stepCreateHQOutgoingLine. Remove attributes on self when deleting documents in module. Allow for mutilated_banknote not to be set when creating an hq_banknote. In such case, that document has no causality. Remove duplicated stock checks. Add 2 sequences: do the same as in sequence_string_1 and sequence_string_2, but on HQ. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18948 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Vincent Pelletier authored
It must be allowed to deliver HQ-initiated documents as long as they have no causality (IE, the document was not created because of an agency sneding its mutilated banknote to HQ). git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18947 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18946 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18945 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Jérome Perrin authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18944 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Vincent Pelletier authored
Set DestinationTotalAssetPrice on HQ document when archiving it, just like it's done when using "finish" transition. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18943 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18942 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Fabien Morin authored
- reverse x, y and width and height because it was not in correct order - remove actual_width and actual_height parameters because they were not used/usefull. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18941 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Fabien Morin authored
- remove actual_width and actual_height parameters because they were not used/usefull git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18940 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Vincent Pelletier authored
Move hq_usual_vault_incomming stock checks out of checkFinalInventory since it's not constant anymore. Add checks for incomming banknotes stocks. Clear HQ module at test end, after all sotck checks are done. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18939 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18938 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Yusei Tahara authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18937 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Vincent Pelletier authored
Non-refundable documents are put in cancelled state, not in archived state. Incomming mutilated banknotes have a None destination in draft state. Also check common final inventory when banknotes went to HQ. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18936 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Romain Courteaud authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18935 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 30 Jan, 2008 21 commits
-
-
Fabien Morin authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18934 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Fabien Morin authored
- remove unused ones - add the attribute background_format that permit to change the file format use for the background - remove original_page_height/width because the were always set to 0 and never used git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18933 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Fabien Morin authored
- add a file format attribute that permit to chose the format ImageMagick will convert the background into (now it's easy to change in png or jpg, or whatever convert could support) - remove a lot of unused code - remove dangerous code ! - enhance security on file deletion by removing only the files used during this method execution (and not using rm -f /tmp/tmp* like it was) - use only one convert command (from ImageMagick) so the pdftoppm command (from Xpdf) it's not yet required in this method (but there is others points to enhance in the file) so requirements for this module will be less importants. - add some logs if the command status output is not 0 - with this enhancements, it's not yet necesary to set "Desired Width" AND "Desired Height" in the module creation user interface. Just one is required (but it's always possible to set the two's), convert will determine the other dimention using proportion if there is only one. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18932 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Romain Courteaud authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18931 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Jérome Perrin authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18930 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Aurel authored
Update line's destinations: exchanged multilated banknotes end up on counter's vault, not in a general vault. Fix states in which line's destinations are not None (incomming banknotes were kept for too long in incomming vault). Remove a missplaced (and duplicated) workflow transition. Set start dates on exchanged and outgoing lines. Set stop date on main document. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18929 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Alexandre Boeglin authored
PackingList_doSolveActions: fix a bug in getting line properties. Thanks to Shresth K for reporting and fixing it. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18928 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18927 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Vincent Pelletier authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18926 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Romain Courteaud authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18925 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Fabien Morin authored
xml valid and make xml parser failed to parse it. They appear for example when you have more than one line in a text frame or if you have tabulation caracter. This hack is temporary, because the problem comes with scribus and perhaps will be corrected in the next scribus version. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18924 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Vincent Pelletier authored
Replace sumCatalogResultByWorklist (was O(distinct_criterion_value_count ** 2)) with an O(SQL_result_line_count * worklists_count) implementation. Speed decrease is expected on "small" configurations (because of high SQL_result_line_count when not using SQL-cached worklists). Speed increase was measured when using SQL-cached worklists even with many worklists (40+). If speed decrease is too critical, it should be possible to keep both implementations and implement a short heuristic to choose between both. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18923 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Romain Courteaud authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18921 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Fabien Morin authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18920 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Romain Courteaud authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18919 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Romain Courteaud authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18918 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Jérome Perrin authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18917 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Yusei Tahara authored
* *_getResourceItemList script should return values only which user can access. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18916 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Romain Courteaud authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18915 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Romain Courteaud authored
Finish tests. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18914 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Aurel authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18912 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 29 Jan, 2008 3 commits
-
-
Yusei Tahara authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18911 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Yusei Tahara authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18910 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Vincent Pelletier authored
Use getPhysicalPath. Although it might be slower that getUid, it's part of Zope low-level API and is available on any object. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18909 20353a03-c40f-0410-a6d1-a30d3c3de9de
-