lp:~fabien-morin/unifield-web/fm-us-1965
- Get this branch:
- bzr branch lp:~fabien-morin/unifield-web/fm-us-1965
Branch merges
- UniField Dev Team: Pending requested
-
Diff: 348 lines (+123/-24)10 files modifiedaddons/openerp/controllers/attachment.py (+11/-6)
addons/openerp/controllers/form.py (+3/-0)
addons/openerp/po/javascript/fr.po (+4/-0)
addons/openerp/static/javascript/binary.js (+9/-6)
addons/openerp/static/javascript/form.js (+66/-1)
addons/openerp/utils/tools.py (+3/-0)
addons/openerp/widgets/form/_binary.py (+4/-2)
addons/openerp/widgets/form/templates/binary.mako (+17/-7)
addons/openerp/widgets/sidebar.py (+4/-1)
addons/openerp/widgets/templates/sidebar.mako (+2/-1)
Branch information
Recent revisions
- 4835. By Fabien MORIN
-
US-1965 [FIX] check no save are done if a attachment is bigger than the max
allowed size. Before this fix, it was possible to select a bigger file than the
max allowed, get the warning message that this file is too big, and then click
on save.
This actions were resulting on sending the datas to the server that was refusing
it because they were too big. Now if the size of the file is too big, the
document is not saved, data not sent to the server. - 4833. By Fabien MORIN
-
US-1965 [FIX] use typeof to check undefined
[FIX] var $datas was defined to late, move it to the right place
[FIX] set type of ajaxSubmit to POST - 4832. By Fabien MORIN
-
US-1965 [IMP] in case there is no max-size, do not do any check
[FIX] add max-size only in case of ir.attachments - 4830. By Fabien MORIN
-
US-1965 [IMP] in case of attachment creation/
modification, set in the context
that it come from web interface.
[FIX] do not use multiple constant difinition for the maximum size allowed for
attachments now the max size is read from ir_attachment class itself and there
is only one place to define this maximum. - 4829. By Fabien MORIN
-
US-1965 [FIX] use a constant for the maximum attachment size
[ADD] translations
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:unifield-web