Xavier Morel
66121aaec7
[IMP] try to make __view_look_dom_arch independent from model
...
bzr revid: xmo@openerp.com-20130424133716-6qm0n00yiussz1ra
2013-04-24 15:37:16 +02:00
Xavier Morel
fb492d98ba
[ADD] behavior and tests for default & ancestors, fallback handling in read_combined
...
bzr revid: xmo@openerp.com-20130424130907-6d6lkrkrgqv0hsfq
2013-04-24 15:09:07 +02:00
Xavier Morel
8715746672
[IMP] move stuff around, try building flatter top-down API with read_combined as utility 'do all the things' hook
...
bzr revid: xmo@openerp.com-20130424095114-4nw0nfuxzx4n1ltv
2013-04-24 11:51:14 +02:00
Xavier Morel
dfc1800305
[MERGE] from trunk to match addons
...
bzr revid: xmo@openerp.com-20130423155233-c7tyowoqsfzzdjv8
2013-04-23 17:52:33 +02:00
Christophe Simonis
261dea6fec
[MERGE] forward port of server v7 up to revision 4954
...
bzr revid: qdp-launchpad@openerp.com-20130422093655-txqmbalod6qmw1s6
bzr revid: chs@openerp.com-20130423183723-9kiexdyzdew8iuzm
2013-04-23 20:37:23 +02:00
Christophe Simonis
60f0bd08ee
[FIX] expression: allow creating child_of expression even if "id" field has been redefined, courtesy of Gustavo Adrian Marino
...
lp bug: https://launchpad.net/bugs/1030942 fixed
lp bug: https://launchpad.net/bugs/1131992 fixed
bzr revid: chs@openerp.com-20130423181926-yk628txd6yiybtko
2013-04-23 20:19:26 +02:00
Christophe Simonis
06746ad25b
[FIX] note: be tolerant to unknow stages when creating users
...
bzr revid: chs@openerp.com-20130423172013-lzi0gyo81m101fbm
2013-04-23 19:20:13 +02:00
Xavier Morel
3ac47a587e
[IMP] remove deprecated explicit setting of type on views
...
bzr revid: xmo@openerp.com-20130423154456-wt4aeb6yr963jbye
2013-04-23 17:44:56 +02:00
Quentin (OpenERP)
1e344dbc53
[FIX] account_analytic_analysis, hr_timesheet_invoice: partial replay of the fix made in revno 9056. The fix effect is the same, but more appropriate to a stable version (the wizard will be removed in v8 only)
...
bzr revid: qdp-launchpad@openerp.com-20130423151810-lcwo7abivbaoog0s
2013-04-23 17:18:10 +02:00
Xavier Morel
d40ec67c2d
[IMP] move application of view inheritance outside of fields_view_get and into View.
...
change get_root_ancestor to return just the id of the ancestor view
bzr revid: xmo@openerp.com-20130423150844-eubxue9vbtc6jhof
2013-04-23 17:08:44 +02:00
Quentin (OpenERP)
e13dc082e5
[REV] revert revision 9056 that was deleting a whole wizard. The patch is good but not applicable as it in the v7
...
bzr revid: qdp-launchpad@openerp.com-20130423144948-unekni1ztjwv71fb
2013-04-23 16:49:48 +02:00
Christophe Matthieu
5af43030d3
[FIX] note: Now, new note arrive in the first column defined by the user.
...
bzr revid: chm@openerp.com-20130423143550-wwebtu1svsv5yoa1
2013-04-23 16:35:50 +02:00
Xavier Morel
8914886040
[IMP] simplify ir.ui.view.get_root_ancestor by using browse records
...
Also only case which should result in the id not existing is the
initial record, if a view_id is explicitly provided. So the loop can
avoid it's, it's traversing through an m2o so if the m2o value is not
null the next record in the chain should always exist.
bzr revid: xmo@openerp.com-20130423135739-jve1fe2it8q4gkwh
2013-04-23 15:57:39 +02:00
Quentin (OpenERP)
2bc4260c54
[FIX] account_voucher: fix in amount_currency computation when the rate is specified on the voucher and the voucher is in the company currency
...
bzr revid: qdp-launchpad@openerp.com-20130423135028-70887smme8mxv0tn
2013-04-23 15:50:28 +02:00
Xavier Morel
0676c84be5
[IMP] move view_id initialization out of loop, make flow simpler
...
bzr revid: xmo@openerp.com-20130423133640-lci2djdj45ztdtu8
2013-04-23 15:36:40 +02:00
Xavier Morel
1dac8a7a34
[ADD] tests for *not* finding root views
...
bzr revid: xmo@openerp.com-20130423133617-c4eszsf09b32hzl1
2013-04-23 15:36:17 +02:00
Xavier Morel
dd43214fe1
[ADD] tests to get_root_ancestor
...
use a default view_type of form in the tests, because whatever
bzr revid: xmo@openerp.com-20130423132523-upbgbt2a3r7cgs08
2013-04-23 15:25:23 +02:00
Quentin (OpenERP)
7e46260474
[FIX] account: modified the constraint on account.move.reconcile in order to allow the reconciliation to be made on different partners if it doesn't concern a payable or receivable account
...
bzr revid: qdp-launchpad@openerp.com-20130423125731-dblhpx7zz4q9x464
2013-04-23 14:57:31 +02:00
Xavier Morel
aef4ce51a7
[IMP] move fetching of root view into ir.ui.view
...
bzr revid: xmo@openerp.com-20130423124657-zkogrodgdw0ymf2f
2013-04-23 14:46:57 +02:00
Quentin (OpenERP)
6d9ae761cd
[FIX] hr_timesheet: return default values for journal and product only if the uid has the read access on it (multi-company) thanks to a new method on ir.model.data: check_object_reference()
...
bzr revid: qdp-launchpad@openerp.com-20130423122820-9gf2i4iic5bqr8g6
2013-04-23 14:28:20 +02:00
Olivier Dony
2e4aafa7dc
[FIX] res.partner: proper store trigger for display name field
...
That was a stupid oversight, sorry!
bzr revid: odo@openerp.com-20130423130656-celrtr352yht19ro
2013-04-23 15:06:56 +02:00
Christophe Simonis
e5736828f9
[REVERT] revert commit fme@openerp.com-20130418171750-7oldgiewo1eewxk7: do not break stable API !!!
...
bzr revid: chs@openerp.com-20130423124151-h025b891xp77flg3
2013-04-23 14:41:51 +02:00
Xavier Morel
c212710f25
[IMP] move resolution of view_ref outside of root-ancestor-searching loop
...
bzr revid: xmo@openerp.com-20130423111929-fs49v0xrahqsi48u
2013-04-23 13:19:29 +02:00
Xavier Morel
e996f92e6c
[REF] move apply_inheritance_specs to ir.ui.view
...
also moved raise_view_error utility function
bzr revid: xmo@openerp.com-20130423105856-558rl6ankd4g3qb0
2013-04-23 12:58:56 +02:00
Quentin (OpenERP)
d50b081191
[MERGE] account_analytic_analysis, hr_timsheet_invoice: fix made in the computation of the 'Invoiced Amount' computed field + removal of wizard to invoice timesheets that was giving wrong results, and which is now replaced by a simple redirection on the lines to invoice
...
bzr revid: qdp-launchpad@openerp.com-20130423105427-yrs3g9x6nigdl20j
2013-04-23 12:54:27 +02:00
Quentin (OpenERP)
a98ae1d753
[IMP/FIX] ir_model_data: added check_object_reference() in order to return a value only if the uid has read access on the targeted object. It avoids raising access rights errors further in the process and prevents duplicating that same code in all addons
...
bzr revid: qdp-launchpad@openerp.com-20130423103706-u4wk2y65kam587c6
2013-04-23 12:37:06 +02:00
Quentin (OpenERP)
27d98e675f
[FIX] sale_analytic_distribution: show the analytic distribution instead of the analytic account in the customer form view
...
bzr revid: qdp-launchpad@openerp.com-20130423101449-4kyb0r4c5jj3ul78
2013-04-23 12:14:49 +02:00
Xavier Morel
b0f2d3044a
[FIX] don't 'double tap' when applying view inheritance
...
iter(exclude_base=False) would add the base view (being extended) to the sequence, and thus start by extending the base view with itself.
bzr revid: xmo@openerp.com-20130423100845-ryumkx12cwv60pc1
2013-04-23 12:08:45 +02:00
niv-openerp
8590e68b2b
[FIX] im: small graphical bug when we click on an already opened contact
...
bzr revid: nicolas.vanhoren@openerp.com-20130423092520-hoqpi01li03yjmrm
2013-04-23 11:25:20 +02:00
Quentin (OpenERP)
200257ab89
[FIX] hr_payroll: do not crash when duplicating a payroll structure (because of both classes with same name in the .py) + added recursion check
...
bzr revid: qdp-launchpad@openerp.com-20130423091626-02475bdw67wdmhd1
2013-04-23 11:16:26 +02:00
Quentin (OpenERP)
7245f7e6f1
[FIX] account: default values for sign of financial reports in the P&L is -1
...
bzr revid: qdp-launchpad@openerp.com-20130423085702-2ls986fyfhibimi1
2013-04-23 10:57:02 +02:00
Launchpad Translations on behalf of openerp
6b04a532b8
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20130423060902-2j8xouki50aemi14
bzr revid: launchpad_translations_on_behalf_of_openerp-20130423061017-5os2p9ztugb6jjph
bzr revid: launchpad_translations_on_behalf_of_openerp-20130423061019-n2660taj1o9os75c
2013-04-23 06:10:19 +00:00
Olivier Dony
26f2543dbf
[FIX] base_report_designer: incorrect license headers in some source files, reported and contributed by Alec Leamas
...
Mixing LGPL 2.1 and AGPL 3.0 in the same source file
is incorrect, and the AGPLv3 license was added by
mistake: keep only LGPL license and preserve
copypright info.
lp bug: https://launchpad.net/bugs/1167034 fixed
bzr revid: odo@openerp.com-20130422170429-o8tb92x4mukspe9o
2013-04-22 19:04:29 +02:00
Olivier Dony
41146460c0
[FIX] rml2html: incorrect license headers in some source files, reported and contributed by Alec Leamas
...
Mixing LGPL 2.1 and AGPL 3.0 in the same source file
is incorrect, and the AGPLv3 license was added by
mistake: keep only LGPL license and preserve
copypright info.
lp bug: https://launchpad.net/bugs/1167034 fixed
bzr revid: odo@openerp.com-20130422170420-in1wo45v3q8q0fhr
2013-04-22 19:04:20 +02:00
Quentin (OpenERP)
33f27b362b
[MERGE] forward port of addons v7 up to revision 9045
...
bzr revid: qdp-launchpad@openerp.com-20130422153449-c62emljfa4a49758
2013-04-22 17:34:49 +02:00
Cedric Snauwaert
7d3a07aa79
[FIX]account_financial_report_data: fix profit and loss sign, sign should be reverse for P&L journal and children
...
bzr revid: csn@openerp.com-20130422144438-2uc9vhotsznf42ru
2013-04-22 16:44:38 +02:00
Xavier Morel
980e01d386
[IMP] attempt to remove lexical dependencies from fvg's nested functions
...
should allow moving most of the view inheritance application into
ir.ui.view, where it should belong.
bzr revid: xmo@openerp.com-20130422142444-f09sw841jop3t4a4
2013-04-22 16:24:44 +02:00
Olivier Dony
4b85daf182
[FIX] account_report_company: be more conservative and hide the name field instead of removing it from list view
...
This makes the inherited view still compatible with
modules that depend on the presence of the `name`
field in the list view (otherwise it would depend on the
module loading order and would sometimes work and
sometimes not).
bzr revid: odo@openerp.com-20130422141518-imyiuu59uxnzq5eh
2013-04-22 16:15:18 +02:00
Xavier Morel
480bf6a99b
[FIX] temporarily remove _init flag of pooler during view inheritance test
...
Breaks between in-loading (openerp) and unit test (oe), behavior is
crap and can't be arsed to create a dummy ir.model.data for that.
bzr revid: xmo@openerp.com-20130422140116-g8mqzvahbv2ag956
2013-04-22 16:01:16 +02:00
Xavier Morel
edf1f23a6e
[ADD] depth-first iterator on views, refactor apply_view_inheritance to use it
...
bzr revid: xmo@openerp.com-20130422125000-pg60ovrxejegenka
2013-04-22 14:50:00 +02:00
Xavier Morel
bad87b4245
[ADD] some tests for get_inheriting_view_arch
...
Tests are way incomplete: no test for partial loading or groups filtering
bzr revid: xmo@openerp.com-20130422122812-c1d385zwau9wlmci
2013-04-22 14:28:12 +02:00
Xavier Morel
cdc8110363
Temporarily disable XML validity check (calls fields_view_get, PITA)
...
bzr revid: xmo@openerp.com-20130422122739-gx72s6lxna0nk5ug
2013-04-22 14:27:39 +02:00
niv-openerp
ef645d7376
[ADD] instant messaging and live chat features
...
bzr revid: nicolas.vanhoren@openerp.com-20130422113254-ixdfha7s8jbgy2y2
2013-04-22 13:32:54 +02:00
Christophe Matthieu
0915663545
[FIX] note: notes without user's stage are added to the first user's stage (sort by sequence)
...
bzr revid: chm@openerp.com-20130422112438-0f1s6we5ggq3t6xn
2013-04-22 13:24:38 +02:00
Thibault Delavallée
856083e2b4
[FIX] email_template: fixed wrong res_id given to attachments in send_mail (should be a mail.message res_id, not a mail.mail res_id), to use the low-level attachments unlink.
...
bzr revid: tde@openerp.com-20130422102114-a179ylzpgu3g6vcr
2013-04-22 12:21:14 +02:00
niv-openerp
d5dc64c42d
Removed modification to a file that has nothing to do with the feature
...
bzr revid: nicolas.vanhoren@openerp.com-20130422101524-eyd0138u51vot6it
2013-04-22 12:15:24 +02:00
niv-openerp
d0863a0163
merge trunk
...
bzr revid: nicolas.vanhoren@openerp.com-20130422095817-g7n3qe94u91bcefx
2013-04-22 11:58:17 +02:00
Xavier Morel
9683224830
[IMP] Element.getiterator -> Element.iter
...
> Note that this method is deprecated as of ElementTree 1.3 and lxml
> 2.0. It returns an iterator in lxml, which diverges from the
> original ElementTree behaviour. If you want an efficient iterator,
> use the element.iter() method instead. You should only use this
> method in new code if you require backwards compatibility with older
> versions of lxml or ElementTree.
bzr revid: xmo@openerp.com-20130422091958-413qo439qqgv296u
2013-04-22 11:19:58 +02:00
Xavier Morel
c9a6e74bf4
[IMP] add tests for locate_node
...
bzr revid: xmo@openerp.com-20130422091014-qbd4jun4n9u4402x
2013-04-22 11:10:14 +02:00
Christophe Matthieu
3d1e5d6998
[FIX] web_linkedin: display the real linkedin error inside the openerp popup.
...
bzr revid: chm@openerp.com-20130422084308-t32vp4v8k3006uzp
2013-04-22 10:43:08 +02:00