Commit Graph

76 Commits

Author SHA1 Message Date
Holger Brunn
8db59acf02 [FIX] don't duplicate core functionality 2015-02-02 12:21:21 +01:00
Holger Brunn
8008eb0e7d [IMP] ignore attachments for unknown models because core chokes on that 2015-01-26 13:08:17 +01:00
Holger Brunn
34edbeec18 [IMP] don't read all attachments at once 2015-01-26 13:07:05 +01:00
Holger Brunn
b61d73b42a [FIX] set the data column to null when writing again 2015-01-26 12:14:49 +01:00
Holger Brunn
f8427fde66 [ADD] attachments_to_filesystem 2015-01-26 12:06:33 +01:00
Pedro M. Baeza
2f77c9605a Merge pull request #16 from hbrunn/7.0-attachment_preview
[ADD] attachment_preview
2014-11-28 22:21:28 +01:00
Pedro M. Baeza
ba000216d0 Merge pull request #10 from hbrunn/7.0-document_choose_directory
[ADD] document_choose_directory
2014-11-22 00:31:54 +01:00
Pedro M. Baeza
4d83c67ca3 Merge pull request #26 from oca-travis/7.0-autofix-script-01-dev-moylop260
[REF] auto-fix conventions
2014-11-19 08:21:39 +01:00
Pedro M. Baeza
6016c7799b [FIX] pylint 2014-11-18 03:03:42 +01:00
moylop260
74ead9ed4f [REF] auto-fix conventions 2014-11-13 21:20:14 -06:00
Pedro M. Baeza
7720a1acd6 Merge pull request #21 from hbrunn/7.0-travis-2014-10-20
[FIX] coding style issues
2014-10-24 15:56:00 +02:00
Holger Brunn
428f7e9450 [FIX] coding style issues 2014-10-20 11:33:22 +02:00
Holger Brunn
3e3157bf4f Merge pull request #18 from savoirfairelinux/7.0_update_document_multiple_records
[UPD] Override the _name_get_resname function to add a condition for account.voucher model
2014-10-20 11:10:10 +02:00
Holger Brunn
fd18fba657 Merge pull request #17 from pedrobaeza/7.0-document_url
[ADD] document_url: A module that allows to put URLs as attached documents.
2014-10-20 11:06:44 +02:00
Yannick Vaucher
9335eb2fc9 Merge pull request #19 from savoirfairelinux/i18n
Export translations for document_multiple_records
2014-10-08 14:43:27 +02:00
EL HADJI DEM
26424054c4 [UPD] Override the _name_get_resname function to add a condition for account.voucher model 2014-10-01 09:49:24 -04:00
Sandy Carter
9b2287858a Export translations for document_multiple_records 2014-09-29 17:34:27 -04:00
EL HADJI DEM
dbbea6df2c [UPD] In create method, use name unless name_get to define res_name value 2014-09-29 17:15:08 -04:00
Holger Brunn
28592d9b74 [FIX] js != py 2014-09-22 18:40:44 +02:00
Holger Brunn
9d806543e7 [FIX] pass filename to column 2014-09-22 18:37:39 +02:00
Holger Brunn
a37bbf563c [ADD] allow previewing binary fields on forms
[FIX] error on list views without binary fields
2014-09-22 17:42:08 +02:00
Holger Brunn
73a5af01bd [FIX] allow previewing arbitrary binary fields 2014-09-22 17:21:31 +02:00
Holger Brunn
ddb47661fb [ADD] support old CentOS' magic module
[FIX] handle empty binary fields correctly
2014-09-18 12:57:54 +02:00
Holger Brunn
259914a27c [RFR] allow to get any binary field's extension 2014-09-18 12:57:41 +02:00
Holger Brunn
637dd3efb7 [FIX] remove old magic's charset detection 2014-09-18 12:57:19 +02:00
Holger Brunn
7dd66e3274 [FIX] support old firefoxes not implementing window.location.origin 2014-09-18 12:52:58 +02:00
Holger Brunn
f4423ffd2e [RFR] move functions to module scope
[ADD] allow to preview binary fields in tree views
2014-09-17 12:35:23 +02:00
Pedro M. Baeza
52d7eb8e6d Some PEP8 fixes and Travis update 2014-09-15 10:50:26 +02:00
Pedro M. Baeza
a522eccebc Some fixes 2014-09-11 16:06:21 +02:00
Pedro M. Baeza
8cf1e5aa80 [ADD] document_url: A module that allows to put URLs as attached documents. 2014-09-10 17:54:42 +02:00
Holger Brunn
9bdced7974 [IMP] better filter for when to show preview button 2014-09-10 12:32:24 +02:00
Holger Brunn
10e571b959 [FIX] get original-title attribute 2014-09-10 12:26:57 +02:00
Holger Brunn
bbcf0c0d49 [FIX] cope with empty ids 2014-09-10 12:21:40 +02:00
Holger Brunn
e6434b12a5 [FIX] typo 2014-09-10 12:11:49 +02:00
Holger Brunn
2c962559e9 [ADD] attachment_preview 2014-09-10 12:08:25 +02:00
Yannick Vaucher
388fc96c4b Merge pull request #11 from hbrunn/7.0_flake8
[FIX] flake8
2014-08-11 12:34:50 +02:00
Holger Brunn
a8c6786771 [FIX] flake8 2014-08-11 11:03:57 +02:00
Holger Brunn
f387ff26e2 [FIX] pep8 2014-07-30 14:51:42 +02:00
Holger Brunn
7fad9182db [ADD] document_choose_directory 2014-07-30 14:00:26 +02:00
Sandy
cfb549d367 Merge pull request #9 from bwrsandman/pep
7.0 Small pep8 fix
2014-07-19 11:34:16 -04:00
Sandy Carter
ce37eaf915 Small pep8 fix 2014-07-19 11:29:44 -04:00
Maxime Chambreuil - http://www.savoirfairelinux.com
cc0bc69b4e Merge pull request #5 from savoirfairelinux/document_multiple_records
[ADD] Document multiple records
2014-07-19 10:26:07 -04:00
Sandy Carter
3f9ea85e45 Cleanup code and fix possible bugs
create():
    Avoid duplicating data locally
    Fix boolean comparison problem
    Use name_get rather than name field
unlink():
    Use more specific context identifiers
    Remove redundant loop and if statement
model:
    Add ondelete='cascade'
2014-07-18 17:18:29 -04:00
Sandy Carter
94f1444213 Add missing access rights 2014-07-18 17:18:29 -04:00
Marc Cassuto
f6e2f1eab1 [i18n] Updated french translations 2014-07-18 17:18:29 -04:00
Marc Cassuto
4069f2bedb [i18n] Added french translations 2014-07-18 17:18:29 -04:00
EL HADJI DEM
6e5f52a548 [IMP]Change condition to pass test 2014-07-18 17:18:29 -04:00
EL HADJI DEM
a9a91394ef [IMP]Change condition to pass test 2014-07-18 17:18:29 -04:00
EL HADJI DEM
dbe7aac614 [IMP]Fix bug to pass tests 2014-07-18 17:18:29 -04:00
EL HADJI DEM
2889c10a50 [IMP] Refresh automatically list of documents in the form view;from knownlege, delete the documents and references; when delete document from form view, juste delete the reference; informations about the model are saved in the attachment_document_ids 2014-07-18 17:18:29 -04:00