Olivier Dony
16b38a053a
[FIX] res.partner: fix invisible attrs on Contacts tab, empty o2m field results in [], not False
...
bzr revid: odo@openerp.com-20130420004713-0cblmquf4t6i2n0r
2013-04-20 02:47:13 +02:00
Olivier Dony
18ee18244f
[FIX] test_expression: assertion was too sensitive to exact parameters
...
Now that res.partner.child_ids has an extra domain
attribute the exact number of parameters of queries
using `child_ids` in the WHERE clause is different.
bzr revid: odo@openerp.com-20130419173159-ef1onm3823hsi77n
2013-04-19 19:31:59 +02:00
Olivier Dony
64f29cfa10
[IMP] account_report_company: use display_name instead of name in kanban and list views, so labels visually match order
...
bzr revid: odo@openerp.com-20130419171853-dvfi5jvvlof9afoo
2013-04-19 19:18:53 +02:00
Olivier Dony
5e2ce8b709
[IMP] account_report_company: add extra stored function field display_name on res.partner and use it for sorting
...
This makes name_search() results, group_by, etc. all behave as expected
bzr revid: odo@openerp.com-20130419165239-15szgi0e686k6mh9
2013-04-19 18:52:39 +02:00
Olivier Dony
9b9c3fa59c
[FIX] res.partner.name_get: partners marked as "is_company" should appear as standalone
...
This is more consistent with the way we expect reporting
to work, and will also ensure that these companies
appear right above their contacts in search order
(which will match name_get)
bzr revid: odo@openerp.com-20130419164728-25312wtyzt9h6egw
2013-04-19 18:47:28 +02:00
Olivier Dony
83feb1c46f
[REVERT] res.partner: undo change of ordering in name_search result, to be addressed via a stored display_name field (temporarily added by account_report_company module in 7.0)
...
bzr revid: odo@openerp.com-20130419164447-wrmfghxi44au3273
2013-04-19 18:44:47 +02:00
niv-openerp
1f2064cb93
[FIX] pad: revert part of previous fix because it could produce problems in some cases
...
bzr revid: nicolas.vanhoren@openerp.com-20130419144238-0hq1rgmcacw5sw1r
2013-04-19 16:42:38 +02:00
niv-openerp
ea2544e432
[FIX] pad: problem about pad title not being updated correctly, was solved by solving another, more serious, bug that didn't updated correctly the database backup of the pad
...
lp bug: https://launchpad.net/bugs/1155039 fixed
bzr revid: nicolas.vanhoren@openerp.com-20130419143529-jku5titoacaajft0
2013-04-19 16:35:29 +02:00
Olivier Dony
cfb53f1aad
[FIX] res.partner: search using 'child_of' should include inactive children
...
This is necessary for 2 reasons:
- when searching on Business documents the search domain will be
[('partner_id', 'child_of', 'ACME')] in order to match all
descendants, and it must match inactive children as well
- in other cases like for resolving IDs to update via store
triggers, it is necessary that 'child_of' returns inactive
children too.
The implementation is tricky because the ORM automatically
transform 'child_of' domains into recursive searches with
[('parent_id', 'in', ids)], which is the same query that the
reverse one2many 'child_ids' will also use to find contacts.
The overridden search() therefore matches this domain pattern
only when there is one criterion (to avoid side-effects in
other cases) and a dummy extra 'domain' was added to the
definition of the 'child_ids' o2m so it won't match.
The net result is that child_ids will not return inactive
children while child_of will return all descendants when
it is the only criterion. This is the expected behavior
whenever child_of is used on res.partner, because
it's safer to always show business documents.
The only side-effects will be for custom/manual search
calls with a single criterion of the form ('parent_id','in', x)
and those can be fixed by adding an extra domain
component ('active','=',True), just like child_ids does.
bzr revid: odo@openerp.com-20130419135756-2kbhwr23lygqdoob
2013-04-19 15:57:56 +02:00
Christophe Matthieu
485af4a3d4
[IMP] salesteams: demo data
...
bzr revid: chm@openerp.com-20130419134927-b5ykxmdyokv10jq1
2013-04-19 15:49:27 +02:00
Christophe Matthieu
c2a93abb93
[IMP] salesteams: demo data
...
bzr revid: chm@openerp.com-20130419134755-a5332igy2mszgik1
2013-04-19 15:47:55 +02:00
Olivier Dony
8503964216
[IMP] account_report_company: make res.partner.commercial_partner_id field stored, for further reporting needs
...
This is not strictly necessary, but can be useful for other
modules in order to ease SQL reporting, without even needing
to store a denormalized copy of the "commercial partner" key
on the documents themselves.
Also renamed the Python fiel to something generic since
it now inherits multiple models.
bzr revid: odo@openerp.com-20130419134335-rhsg24f2uuwl3kla
2013-04-19 15:43:35 +02:00
kirti savalia (OpenERP)
8b37e0a7bb
[IMP]:use the translte method instead of undescore sign
...
bzr revid: ksa@tinyerp.com-20130419131747-3vwx4a9rcosryrwb
2013-04-19 18:47:47 +05:30
kirti savalia (OpenERP)
8f72e4e308
[FIX]:the issue for the context related problem in the report
...
bzr revid: ksa@tinyerp.com-20130419114134-nblmxdtxw31ddt3f
2013-04-19 17:11:34 +05:30
kirti savalia (OpenERP)
f8d5a7422a
[REM]:remove the wrong changes of the revision 8985
...
bzr revid: ksa@tinyerp.com-20130419113943-kwy2e2aj8cc60gk9
2013-04-19 17:09:43 +05:30
Christophe Matthieu
57fdf11635
[IMP] salesteams: add demo data
...
bzr revid: chm@openerp.com-20130419103600-71j6munkzygnffe4
2013-04-19 12:36:00 +02:00
Cedric Snauwaert
08a281f01f
[FIX]sale_analytic_plans: fix invoice view form to replace analytic account by analytic distribution
...
bzr revid: csn@openerp.com-20130419100311-yuc9176jrnty6gfs
2013-04-19 12:03:11 +02:00
Vidhin Mehta
75d69f5c8d
[IMP]remove html tag from body in name_get
...
bzr revid: vme@tinyerp.com-20130419094938-1bmd3vu30cxsdyqd
2013-04-19 15:19:38 +05:30
Vidhin Mehta
b585ca8f09
[REM]
...
bzr revid: vme@tinyerp.com-20130419094842-qyioltxqj90r4b2d
2013-04-19 15:18:42 +05:30
kirti savalia (OpenERP)
3f4779904c
[FIX]:imporve the report for the general journal
...
bzr revid: ksa@tinyerp.com-20130419085918-uc40uht53moudnnq
2013-04-19 14:29:18 +05:30
kirti savalia (OpenERP)
bd453afe23
[FIX]:imporve the report for the general ledger landscap
...
bzr revid: ksa@tinyerp.com-20130419085806-uuxip4m08ngx7lch
2013-04-19 14:28:06 +05:30
kirti savalia (OpenERP)
f12199a513
[FIX]:imporve the report for the journal
...
bzr revid: ksa@tinyerp.com-20130419085605-batv6df6a10tu7gt
2013-04-19 14:26:05 +05:30
kirti savalia (OpenERP)
da567e8cb0
[FIX]:imporve the report for the trail balance
...
bzr revid: ksa@tinyerp.com-20130419085128-iuqcsi8qn9p0qt8g
2013-04-19 14:21:28 +05:30
Ishwar Malvi (OpenERP Trainee)
d45ee609b4
[IMP] when create company from the supplier it should be set supplier.
...
bzr revid: nco@tinyerp.com-20130419084218-e3pflb3jqq6kihfa
2013-04-19 14:12:18 +05:30
Randhir Mayatra (OpenERP)
86599716fe
[IMP] change category
...
bzr revid: rma@tinyerp.com-20130419083515-jpt2a129nfg0evho
2013-04-19 14:05:15 +05:30
Randhir Mayatra (OpenERP)
7eed566dd0
[IMP] improve codes
...
bzr revid: rma@tinyerp.com-20130419081438-om4wrtfpcs9dha0u
2013-04-19 13:44:38 +05:30
kirti savalia (OpenERP)
718651ec44
[REM]:remove the wrong commit
...
bzr revid: ksa@tinyerp.com-20130419074135-4r8lug4ny131t8nc
2013-04-19 13:11:35 +05:30
Martin Trigaux
a965a8b5b8
[IMP] remove console.log
...
bzr revid: mat@openerp.com-20130419073438-qud2vnbh6zx85dcl
2013-04-19 09:34:38 +02:00
Vidhin Mehta
dc42de0f39
[MERGE]Trunk.
...
bzr revid: vme@tinyerp.com-20130419070448-brwasgl89cp71o7y
2013-04-19 12:34:48 +05:30
Vidhin Mehta
46cdb5d335
[MERGE]Trunk.
...
bzr revid: vme@tinyerp.com-20130419064802-vg9zkgdba6b6zsp4
2013-04-19 12:18:02 +05:30
Launchpad Translations on behalf of openerp
230b23e6cb
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20130419061733-j4th561m2dju73zo
bzr revid: launchpad_translations_on_behalf_of_openerp-20130419061748-4sz8agg8laqbyu4p
2013-04-19 06:17:48 +00:00
Launchpad Translations on behalf of openerp
26f2b57190
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20130419052438-gk34w78d47iwehp0
2013-04-19 05:24:38 +00:00
Foram Katharotiya (OpenERP)
57bd7662ad
[MERGE] with trunk
...
bzr revid: fka@tinyerp.com-20130419050616-5vixfgxyd11c3nnw
2013-04-19 10:36:16 +05:30
Nimesh Contractor (OpenERP)
ecd9f70e43
[MERGE] with trunk.
...
bzr revid: nco@tinyerp.com-20130419045614-310553g6jhnx07uz
2013-04-19 10:26:14 +05:30
Olivier Dony
26dd9bc343
[MERGE] Sync with 7.0
...
bzr revid: odo@openerp.com-20130418172123-2ofzftdo2a923nj1
2013-04-18 19:21:23 +02:00
Olivier Dony
451f8df250
[FIX] sale: orders/quotations action should not force display_address flag
...
Doing so affects autocompletion of search results, etc.
while the fields on the form view are already properly
displayed anyway.
bzr revid: odo@openerp.com-20130418172022-e3lu35xq191jxcyu
2013-04-18 19:20:22 +02:00
Fabien Meghazi
d94936132a
[MERGE] Fixed http controllers inheritance
...
bzr revid: fme@openerp.com-20130418171750-7oldgiewo1eewxk7
2013-04-18 19:17:50 +02:00
Quentin (OpenERP)
af33bef989
[FIX] sale: fix in the workflow of the sale order that appeared on invoice deletion
...
bzr revid: qdp-launchpad@openerp.com-20130418163616-ob30cd73vxkoe31a
2013-04-18 18:36:16 +02:00
Olivier Dony
a9d5c2d37e
[FIX] res.partner: rename commercial_id to commercial_partner_id, following corresponding change in base
...
bzr revid: odo@openerp.com-20130418154022-lt7frhp9c8f2boo0
2013-04-18 17:40:22 +02:00
Olivier Dony
3c5559045c
[FIX] res.partner: add onchange warning when changing an existing contact's company
...
bzr revid: odo@openerp.com-20130418153829-rmkd6xo1cajgfer5
2013-04-18 17:38:29 +02:00
Christophe Matthieu
33ae814ff6
[IMP] tools convert: allow to use relative delta in xml file
...
bzr revid: chm@openerp.com-20130418151827-coda7ldtjd7hw7to
2013-04-18 17:18:27 +02:00
niv-openerp
e7aeabc834
[FIX] account: minor javascript problem that made appear a stack trace
...
lp bug: https://launchpad.net/bugs/1155605 fixed
bzr revid: nicolas.vanhoren@openerp.com-20130418151353-dgfawgqgvama1u84
2013-04-18 17:13:53 +02:00
Olivier Dony
dfbe68e69d
[IMP] res.partner: rename commercial_id to commercial_partner_id + make function field inheritable
...
The name `commercial_partner_id` better reflects its
purpose and the fact that it is a FK to a partner.
An extra indirection through a lambda function was
also added to the definition of the function field
to make it possible to override it in other modules
(otherwise the function is passed by copy directly
and cannot be inherited later)
bzr revid: odo@openerp.com-20130418144533-owupfwn6h83q432x
2013-04-18 16:45:33 +02:00
Quentin (OpenERP)
27c3b6cc33
[MERGE][FIX] product: context propagating in res_currency.compute(). Courtesy of Yannick Vaucher @ Camptocamp. Thanks dude
...
bzr revid: qdp-launchpad@openerp.com-20130418141013-vukxknub32p7djqd
2013-04-18 16:10:13 +02:00
niv-openerp
9c9971f0c9
[FIX] problem in view editor
...
bzr revid: nicolas.vanhoren@openerp.com-20130418135953-l53w542hrqc0puvq
2013-04-18 15:59:53 +02:00
Quentin (OpenERP)
dcfbadd97e
[FIX] hr_expense, usability: added sum in tree view
...
bzr revid: qdp-launchpad@openerp.com-20130418135356-p017meay192awm3y
2013-04-18 15:53:56 +02:00
Quentin (OpenERP)
46e95cb136
[FIX] account, account.move.line form view: the same method was defined twice, differently, and parameters were not correctly passed in onchanges
...
bzr revid: qdp-launchpad@openerp.com-20130418134032-t3y4dk4sp4eu2031
2013-04-18 15:40:32 +02:00
Quentin (OpenERP)
ee07c475ce
[MERGE] account: improved res.partner.form view in order to display shortcut buttons in the top right corner
...
bzr revid: qdp-launchpad@openerp.com-20130418125951-8p0tfexd9jj8l75b
2013-04-18 14:59:51 +02:00
Xavier Morel
d4977dd3bb
[FIX] missing translation mark in error message
...
lp bug: https://launchpad.net/bugs/1125159 fixed
bzr revid: xmo@openerp.com-20130418125640-87g9sdowig7w565d
2013-04-18 14:56:40 +02:00
Quentin (OpenERP)
dde76536dd
[IMP] hr_expense: added store={..} on total amount field of hr.expense
...
bzr revid: qdp-launchpad@openerp.com-20130418123145-62xp6tzxom3lbcqw
2013-04-18 14:31:45 +02:00