Commit Graph

63010 Commits

Author SHA1 Message Date
Antony Lesuisse 4820450aef merge trunk fixes
bzr revid: al@openerp.com-20121111021022-jppw87f7l42shlwn
2012-11-11 03:10:22 +01:00
Antony Lesuisse cb66985c9b [MERGE] trunk
bzr revid: al@openerp.com-20121111014431-bxrn6tte0anyba5v
2012-11-11 02:44:31 +01:00
Olivier Dony 91e2d25cdd [MERGE] ir.filters now have @is_default and a corresponding API adaptation
Client code usually calls get_filters() to get the list of filters for
a particular model, and then create_or_replace() to manage these filters.
In both cases a new @is_default attribute is now available - the idea
being that the default filter is always applied when a view is newly
opened. Global (user_id = False) filters are replaced by user-specific
filters when there are any.

bzr revid: odo@openerp.com-20121109140828-gpuifdjwrmefg5n2
2012-11-09 15:08:28 +01:00
niv-openerp fac7bea3a2 [FIX] problems with the progressbar widget in form view
bzr revid: nicolas.vanhoren@openerp.com-20121109134958-kp44r6gix54uouhu
2012-11-09 14:49:58 +01:00
vta vta@openerp.com 0a7d680313 [FIX] Issue with result.result in POS.
lp bug: https://launchpad.net/bugs/1066288 fixed

bzr revid: vta@openerp.com-20121109133045-z7w5i49eikobyskw
2012-11-09 14:30:45 +01:00
vta vta@openerp.com c5961309c4 [FIX] Fixed POS delete_payment_line triggering and processing.
bzr revid: vta@openerp.com-20121109124854-qray80vx77vlli4r
2012-11-09 13:48:54 +01:00
vta vta@openerp.com c18686212a [FIX] Removed module_stock_planning from config.
bzr revid: vta@openerp.com-20121109115720-dpwdqke5n1an857p
2012-11-09 12:57:20 +01:00
Xavier Morel 4a4fc38d5e [FIX] nuke ir.model.data caches before starting imports
Otherwise a previous validation (or 2) will poison the cache and the
import itself will fail even though the validation succeeeded (and
importing with no validation would have succeeded), as the orm cache
doesn't take DB rollbacks in account.

bzr revid: xmo@openerp.com-20121109113951-p3qgg6m5g7poay5e
2012-11-09 12:39:51 +01:00
Xavier Morel d3b22ccb36 [FIX] incorrect handling of empty values in m2m listview display
bzr revid: xmo@openerp.com-20121109083513-mjpzd01hhuylll4j
2012-11-09 09:35:13 +01:00
Fabien Pinckaers 0c1bcadd23 [FIX] pad
bzr revid: fp@openerp.com-20121109081428-ha5sxo0wez8x3quh
2012-11-09 09:14:28 +01:00
Tejas Tank 8be63a0043 [FIX] Corrected etherpad rending issue.
bzr revid: tta@openerp.com-20121109065144-hut93odny1ur16db
2012-11-09 12:21:44 +05:30
Tejas Tank 71d81fff4d [IMP] Set api key in demo file and remove key from pad.py
bzr revid: tta@openerp.com-20121109063002-ej4bmzzxut5j12e7
2012-11-09 12:00:02 +05:30
Launchpad Translations on behalf of openerp 0528e00788 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20121109043946-6epxgg88lp1lykye
2012-11-09 04:39:46 +00:00
Christophe Simonis a824da4be3 [FIX] do_load_state: propagate _push_me flag
bzr revid: chs@openerp.com-20121108175910-qd2xho4srhhbjs5q
2012-11-08 18:59:10 +01:00
niv-openerp edaa35737b [FIX] hr_timesheet_sheet: typo in javascript code
bzr revid: nicolas.vanhoren@openerp.com-20121108164053-pcs8qq98ged4hyj7
2012-11-08 17:40:53 +01:00
vta vta@openerp.com bbb5192346 [FIX] Many2OneButton, don't subscribe to write_complete event.
bzr revid: vta@openerp.com-20121108154215-4b3sk7nh41xfrl62
2012-11-08 16:42:15 +01:00
Xavier Morel 788e8edf81 [FIX] don't resize & reposition invisible or readonly fields in editable listview
the datetime field doesn't setup its internal widget if the field is readonly, so accessing it blows up

bzr revid: xmo@openerp.com-20121108153544-o2uvpfeoofu2tx12
2012-11-08 16:35:44 +01:00
vta vta@openerp.com e0094e20de [FIX] Issue when triggering 'write_completed' on AbstractFormPopup, argument not passed.
bzr revid: vta@openerp.com-20121108152231-cdtdxa1q9rl4eyre
2012-11-08 16:22:31 +01:00
Xavier Morel 3a5421309b [FIX] breakage of m2m (tag) fields in editable (o2m) listviews
e.g. quotation form view, "Order Lines" table, add a tax (or more) to
a line, save, then try to edit the line.

Issue: the listview mostly uses a single-level structure for its
display, each record is a trivial map of {name: value}. For the M2O
the expected value can be complex-ish (a name_get which holds all the
interesting stuff) but not so for the m2m.

An m2m value is just a list of ids (Array<Integer>), the list view
would overwrite that with the concatenated name_get strings to get
something kind-of displayable. Except editable serializes the record
it has and passes that as-is to the embedded formview. The
corresponding widget (FieldMany2ManyTags) most definitely does not
expect a big string to be shoved up its fat ass.

So use a different but just as disgusting hack: instead of *replacing*
the ids array with the string, add the string to the record after very
slightly munging the original name, that way the form is happy because
it gets the value it expects, and the Many2Many column can override
_format to use the value of the munged/fake column as "stuff it passes
to whatever is in charge of formatting fields for display" when the
original field is asked for.

NOTE: redundant work is done as every line will do its own name_get,
      potentially on the same ids over and over again. Having a
      short-lived backend cache may allow not name_get-ing ids we've
      already fetched during the same table display...

bzr revid: xmo@openerp.com-20121108145705-uphw76z4q4krcpnl
2012-11-08 15:57:05 +01:00
Fabien Meghazi c6d4dcd2ab [FIX] Fix form view bounce effect
bzr revid: fme@openerp.com-20121108151810-c5p3rsha9x8kg6lv
2012-11-08 16:18:10 +01:00
Quentin (OpenERP) 7510aa1511 [MERGE] merged the branch with fleet module, made by csn and del
bzr revid: qdp-launchpad@openerp.com-20121108145918-lgzjnmy6hmvu44vc
2012-11-08 15:59:18 +01:00
vta vta@openerp.com d68db69b42 [MERGE] trunk-saas_analytics.
bzr revid: vta@openerp.com-20121108140803-jhow00d9w5696yla
2012-11-08 15:08:03 +01:00
vta vta@openerp.com d0e307d12b [MERGE] trunk-saas_analytics.
bzr revid: vta@openerp.com-20121108140650-j9en369nxlvlelny
2012-11-08 15:06:50 +01:00
Quentin (OpenERP) 21af7835e0 [FIX] base, res.partner.view: remove duplicated invisible attribute that was totally hiding the 'type' field
bzr revid: qdp-launchpad@openerp.com-20121108140551-lefrv5ndvyzw5tt9
2012-11-08 15:05:51 +01:00
Fabien Meghazi d34b08d1bf [FIX] Kanban: records fetched using "Show more" button can't be edited because their ids where not added to the dataset
bzr revid: fme@openerp.com-20121108140201-nah05a0bxogv0iqj
2012-11-08 15:02:01 +01:00
niv-openerp 82ab87af5c [IMP] Added documentation about on change methods.
bzr revid: nicolas.vanhoren@openerp.com-20121108135815-426n6529rc5b4wd2
2012-11-08 14:58:15 +01:00
Fabien Meghazi 8c52c70319 [FIX] Kanban: 'Show More' button is shown when column is folded
bzr revid: fme@openerp.com-20121108134703-g2icoizl44530fsi
2012-11-08 14:47:03 +01:00
vta vta@openerp.com 2576cd9d5c [MERGE] Latest trunk.
bzr revid: vta@openerp.com-20121108132049-7ape10oz1gvz4vi8
2012-11-08 14:20:49 +01:00
Fabien Meghazi a8518622dd [FIX] Check if console exists before using it
bzr revid: fme@openerp.com-20121108132001-jg5cuqszl2qemy92
2012-11-08 14:20:01 +01:00
Quentin (OpenERP) 5c54a696c4 [FIX] fleet: typo
bzr revid: qdp-launchpad@openerp.com-20121108131132-4k0u9ktwg6h9bi7c
2012-11-08 14:11:32 +01:00
vta vta@openerp.com 3220f10486 [MERGE] Latest trunk.
bzr revid: vta@openerp.com-20121108125749-gd8fu32b33wi529y
2012-11-08 13:57:49 +01:00
vta vta@openerp.com 0f1c30142b [FIX] Changed the account.
bzr revid: vta@openerp.com-20121108122445-i2hb6428b9gxhrqu
2012-11-08 13:24:45 +01:00
vta vta@openerp.com f6885da5af [REM] Remove unused files.
bzr revid: vta@openerp.com-20121108122343-7lfzcntwugdc1qxw
2012-11-08 13:23:43 +01:00
Quentin (OpenERP) 483e7abd83 [REF] fleet: code review again
bzr revid: qdp-launchpad@openerp.com-20121108115658-j16dyzlr0p0t5741
2012-11-08 12:56:58 +01:00
Fabien Meghazi 85448373c8 [IMP] Updated jquery and jquery ui. API change for $.Deferreds
bzr revid: fme@openerp.com-20121108113903-wcdypeb4ff9xxhvt
2012-11-08 12:39:03 +01:00
Fabien Meghazi d0400362d6 [IMP] Updated jquery and jquery ui. API change for $.Deferreds
bzr revid: fme@openerp.com-20121108113703-0qfymcfmkdgyuz91
2012-11-08 12:37:03 +01:00
Fabien Pinckaers f851ad9253 [FIX] if view_id provided in account.move.line, do not compute a specific view
bzr revid: fp@tinyerp.com-20121108113423-5c3ypdqsmphq1qgd
2012-11-08 12:34:23 +01:00
niv-openerp 7ec48c2d26 [IMP] merged documentation in the wiki with web client documentation
bzr revid: nicolas.vanhoren@openerp.com-20121108112356-zl99m2qod2e1fdk8
2012-11-08 12:23:56 +01:00
Fabien Meghazi 0b4b1cf52d [MERGE] trunk
bzr revid: fme@openerp.com-20121108111222-cetz6q6s47iwxnm2
bzr revid: fme@openerp.com-20121108111448-2rzx9moaqloc5lpc
2012-11-08 12:14:48 +01:00
Fabien Meghazi 2cb52fe535 [MERGE] trunk
bzr revid: fme@openerp.com-20121108111330-pw6cr9l3hwii6jjc
2012-11-08 12:13:30 +01:00
Fabien Meghazi e2766b6690 [FIX] Restore dialog buttons
bzr revid: fme@openerp.com-20121108104248-fqv98fv45n35q8qf
2012-11-08 11:42:48 +01:00
Fabien Pinckaers 3f0c4c9b23 [MERGE] multi-company fix
bzr revid: fp@tinyerp.com-20121108103753-vueaierdbjm210ig
2012-11-08 11:37:53 +01:00
Xavier Morel 7c3d2a37b5 [IMP] support set_dimensions on date and datetime form widgets
bzr revid: xmo@openerp.com-20121108103631-dlgw5q58agq8ndb0
2012-11-08 11:36:31 +01:00
niv-openerp db4a1042ee [MERGE] modification of save and on_change mechanism in form view to support the commit_value method in fields
bzr revid: nicolas.vanhoren@openerp.com-20121108102009-int2qix09okvdihm
2012-11-08 11:20:09 +01:00
Fabien Pinckaers a19b7ceb27 [IMP] project reevaluate task when reopening
bzr revid: fp@tinyerp.com-20121108100947-tktayv1tt0by059z
2012-11-08 11:09:47 +01:00
Cedric Snauwaert 8717ecbc24 [FIX]correct a minor bug to compute total contract that needs attention
bzr revid: csn@openerp.com-20121108100316-c4nv0xyovxncjmbz
2012-11-08 11:03:16 +01:00
niv-openerp 86f9f5db35 merge trunk
bzr revid: nicolas.vanhoren@openerp.com-20121108100145-i1ey2f6g07nri18a
2012-11-08 11:01:45 +01:00
Fabien Pinckaers 065848db8f [IMP] default emails on admin and demo so that they can perform tests
bzr revid: fp@tinyerp.com-20121108095604-6tzd8i8chuxr9014
2012-11-08 10:56:04 +01:00
Cedric Snauwaert a2cffc48da [FIX]Fix small bug with onchange that should receive float value but receive integer instead
bzr revid: csn@openerp.com-20121108094815-923zjz92l2ixv7b5
2012-11-08 10:48:15 +01:00
Fabien Pinckaers d7693629cd [FIX] marketing campaign, creating activities from campaign
bzr revid: fp@tinyerp.com-20121108094213-vl68841q9mgf8dic
2012-11-08 10:42:13 +01:00