Commit Graph
75490 Commits
Author SHA1 Message Date
niv-openerp 439cc0b94b [IMP] Altered behavior of form selection fields when used on many 2 one. Now it will query directly
the possible selections from the server instead of using the data sent by the fields_view_get. This
allows to dynamically change the possible values during edition with a domain on the selection field.

bzr revid: nicolas.vanhoren@openerp.com-20131022131525-d0i61sbm0w6katfs
2013-10-22 15:15:25 +02:00
niv-openerp 02177329c9 fix
bzr revid: nicolas.vanhoren@openerp.com-20131022131510-zvqt6xgsln0bk6zp
2013-10-22 15:15:10 +02:00
niv-openerp 48e9bbff2b wip
bzr revid: nicolas.vanhoren@openerp.com-20131022131323-jicyw0pchzs5x38t
2013-10-22 15:13:23 +02:00
Christophe Simonis 91fdcc63a7 [FIX] board: correct /board/add_to_dashboard to use new @route decorator and request object
bzr revid: chs@openerp.com-20131022131049-lb6mva47y0i3kpvq
2013-10-22 15:10:49 +02:00
niv-openerp d0145bd0ec Now selection fields on m2o query the records directly
bzr revid: nicolas.vanhoren@openerp.com-20131022121952-piye1e3k80w217r0
2013-10-22 14:19:52 +02:00
Christophe Simonis d97bd2bce2 [FIX] web: avoid useless redirection when in mono db mode
bzr revid: chs@openerp.com-20131022104145-janmthq1r6sibm2e
2013-10-22 12:41:45 +02:00
Martin Trigaux 26256ee55a [FIX] account: computation of debit/credit on partner is based on past year moves instead of reported entries, courtesy of Nhomar Hernandez (vauxoo)
This change allows to have consistency in values instead of depending on when the fiscal year is closed and when the entries are generated

lp bug: https://launchpad.net/bugs/1219381 fixed

bzr revid: mat@openerp.com-20131022095301-tigk2ixheljvqxwc
2013-10-22 11:53:01 +02:00
Martin Trigaux cba3a4114e [FIX] account: compute debit credit based on previous year to have consistent result all the time, courtesy of Nhomar (vauxoo)
bzr revid: mat@openerp.com-20131022091925-mqj2etd71guplhm7
2013-10-22 11:19:25 +02:00
Martin Trigaux a2e0acf7d4 [REV] revert partner.py to revision 9043 (error cf lp:1219381 comment #11)
bzr revid: mat@openerp.com-20131022091728-hebgvt1m26y9wjot
2013-10-22 11:17:28 +02:00
Martin Trigaux 0e28dc6b62 [MERGE] sync with 7.0
bzr revid: mat@openerp.com-20131022091319-dzpe0i8936alq22y
2013-10-22 11:13:19 +02:00
Launchpad Translations on behalf of openerp 1433c5fc0b Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131022051531-skzykboyadt54zs1
bzr revid: launchpad_translations_on_behalf_of_openerp-20131018061132-rzws6tazubx0zysd
bzr revid: launchpad_translations_on_behalf_of_openerp-20131020050513-83ofvmdau85nhc89
bzr revid: launchpad_translations_on_behalf_of_openerp-20131022051535-g7vpsdx91u9d7zbs
2013-10-22 05:15:35 +00:00
Martin Trigaux ffc27c288f [FIX] hr_timesheet: cost and revenues of parent analytic accounts aggregate from child analytic accounts
bzr revid: mat@openerp.com-20131021160326-62hpxyypgu70v6w2
2013-10-21 18:03:26 +02:00
Olivier Dony fadd46c5cb hr_holidays: force refuse.@flow_stop to False to correctly update existing databases
bzr revid: odo@openerp.com-20131021155120-vn63of44ya0od9e2
2013-10-21 17:51:20 +02:00
Christophe Simonis 969b45a179 [MERGE] forward port of branch saas-2 up to revid 8962 chs@openerp.com-20131021145334-i9gtbk52mre1bu1x
bzr revid: chs@openerp.com-20131021145735-7jkmltsbdj02pjo8
2013-10-21 16:57:35 +02:00
Christophe Simonis 3e04036aa5 [MERGE] forward port of branch saas-1 up to revid 8794 chs@openerp.com-20131021141431-5bdk9waai17julkb
bzr revid: chs@openerp.com-20131021145334-i9gtbk52mre1bu1x
2013-10-21 16:53:34 +02:00
Olivier Dony 6752a298ec [IMP] ir.translation: module field is useful for admin/debugging
bzr revid: odo@openerp.com-20131021143641-eflzertf2r7hap44
2013-10-21 16:36:41 +02:00
Christophe Simonis 9a775cd3f5 [MERGE] forward port of branch 7.0 up to revid 9535 odo@openerp.com-20131021124748-x4jnibwyab4gam23
bzr revid: chs@openerp.com-20131021141431-5bdk9waai17julkb
2013-10-21 16:14:31 +02:00
Olivier Dony 6a3683f116 [FIX] l10n_fr: 2014 tax update patch has removed obsolete templates, causing an error at module update
Due to the relationship between fiscal position
templates and tax templates, the removal of
obsolete tax templates may crash if the corresponding
fiscal positions are not deleted before.
In a recent l10n_fr patch [1] a number of
templates disappeared, which causes an error during
subsequent updates on databases where the obsolete
templates are still present.
      
As a workaround, we can force a deletion of
all fiscal position templates before loading
them. This is relatively safe because the templates
are not connected to live data, and will be
re-created during the update (except for the
obsolete ones which will be gone forever).

[1] addons 7.0 rev 9515 rev-id: odo@openerp.com-20131010114424-atzr3bl9e9diir2g

lp bug: https://launchpad.net/bugs/1240265 fixed

bzr revid: odo@openerp.com-20131021124748-x4jnibwyab4gam23
2013-10-21 14:47:48 +02:00
Thibault Delavallée 1322839430 [IMP] crm: boards: improved domains according to the new closed attribute on stages
bzr revid: tde@openerp.com-20131021113452-qs0ri511hcxhetmw
2013-10-21 13:34:52 +02:00
Thibault Delavallée 48d424511a [REV] crm_lead_view: mark won/lost buttons are back, but invisible, to be able to be removed without breaking inheriting views
bzr revid: tde@openerp.com-20131021113433-hzdwid0h429xywac
2013-10-21 13:34:33 +02:00
Thibault Delavallée 0d51bd2c3a [MERGE] Sybnc with saas-2 branch
bzr revid: tde@openerp.com-20131021104937-kmtahyp59xr1vlov
2013-10-21 12:49:37 +02:00
Thibault Delavallée 878ceca988 [REV] stages: removed bar_fold and bar_color fields.
After some experiments, having colors does not seem to give an
usable result on statusbar widget. Indeed we need to have the
current stage highlited, and maybe something to tell that some
stages have a special meaning and/or are the end of the pipe.
The closed field already gives that meaning.

Moreover the issue with the statusbar widget is that it indicates
state and action. Having both dimensions with colors / icons
is quite difficult to understand. We therefore stand on a simpler
version of the widget, only with stages and the current stage
highlighted.

bzr revid: tde@openerp.com-20131021104912-8ybhw0svdoghheh3
2013-10-21 12:49:12 +02:00
Thibault Delavallée a28c14a8cc [REV] StatusField: reverted changes about bar widget color and thing slike that.
bzr revid: tde@openerp.com-20131021104708-vrax9zhpjwyjq6ns
2013-10-21 12:47:08 +02:00
Martin Trigaux 6ba45e5cbf [FIX] procurement: change SQL query to be compatible with both postgres 8.4 and 9.3
bzr revid: mat@openerp.com-20131021095735-yz9pb5pphfdgl44j
2013-10-21 11:57:35 +02:00
Launchpad Translations on behalf of openerp 16fd47c3e1 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131019052801-ouw53m70o0eabxnv
bzr revid: launchpad_translations_on_behalf_of_openerp-20131020050509-ar8koyz20p82rdjq
bzr revid: launchpad_translations_on_behalf_of_openerp-20131021045723-bkmqoimoalwb3lzq
2013-10-21 04:57:23 +00:00
Launchpad Translations on behalf of openerp 03436bd521 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131019045915-qsravpk1h784kxxf
bzr revid: launchpad_translations_on_behalf_of_openerp-20131021043617-dqegufnc6us9o3n6
2013-10-21 04:36:17 +00:00
Olivier Dony 9227f3d5fc [MERGE] Forward-port of latest saas-1 bugfixes, up to rev. 4913 rev-id: odo@openerp.com-20131018145638-0evfafu4yqg2itia
bzr revid: odo@openerp.com-20131018154805-axo5jrsbyd24qwle
2013-10-18 17:48:05 +02:00
Olivier Dony b361ec0151 [FIX] base.import.module: this wizard is disabled and should be dropped entirely in trunk
Kept the model for backwards compatibility until then

bzr revid: odo@openerp.com-20131018145638-0evfafu4yqg2itia
2013-10-18 16:56:38 +02:00
Thibault Delavallée 62e88a16e4 [FIX] mail: mail_mail: fixed url embedded in notification emails.
When having emails not linked to a notification (mail.notification = False)
the link is generated without any clue about the source record.
However we can try to use model and res_id defined on the mail_mail record
to correctly format a link.

Added support of model and res_id in message_redirect_action. This method
now can redirect based on a message_id, or based on model / res_id.

bzr revid: tde@openerp.com-20131018144924-j4f22hen3lsua7cb
2013-10-18 16:49:24 +02:00
Thibault Delavallée 2cb3b0f382 [FIX] sale_crm: fixed view inheritance
TODO: re-add the button in invisible

bzr revid: tde@openerp.com-20131018144448-hpbds5oobcqpr1uv
2013-10-18 16:44:48 +02:00
niv-openerp 87ee7c8b70 Enabled controllers not contained in modules
bzr revid: nicolas.vanhoren@openerp.com-20131018140752-ha9qpb0mormxp7l0
2013-10-18 16:07:52 +02:00
Martin Trigaux 1a9297aaed [FIX] account: correct test on closing fiscal year to fail with error message and set the test to the previous year instead of next year (makes more sense)
bzr revid: mat@openerp.com-20131018140424-yyfc561nisym2gem
2013-10-18 16:04:24 +02:00
Martin Trigaux 7d3e01bea3 [FIX] account: go green test\!, also set the test to previous year
bzr revid: mat@openerp.com-20131018135925-x2n1yw96973srmk1
2013-10-18 15:59:25 +02:00
Martin Trigaux 6f2f0b17ed [TEST] test with failing test
bzr revid: mat@openerp.com-20131018134613-27lsl5vln5yu26pa
2013-10-18 15:46:13 +02:00
niv-openerp ec291efb80 merge trunk
bzr revid: nicolas.vanhoren@openerp.com-20131018134553-a7dshmtv8yp70qzp
2013-10-18 15:45:53 +02:00
niv-openerp ebeeae0ed4 [MERGE] saas2
bzr revid: nicolas.vanhoren@openerp.com-20131018134149-yveqfs6tqwnjo6xt
2013-10-18 15:41:49 +02:00
Martin Trigaux f6bb462172 [FIX] account: correct test with valid error message
bzr revid: mat@openerp.com-20131018134058-wpuyqnhb3xtshqs8
2013-10-18 15:40:58 +02:00
Thibault Delavallée fa9f367687 [IMP] form_view: statusbar improvements
It now uses the bar_fold field instead of the fold field
to hide the stage.
It now uses bar_color to personnalize the stage.

Added css for oe_bar_1 (still WIP, just for testing purpose)

bzr revid: tde@openerp.com-20131018132259-2kip8723ibr296ri
2013-10-18 15:22:59 +02:00
Thibault Delavallée 6c54232c98 [IMP] Stage/State update part 2
- stages: added some fields
-- closed: indicates whether this stage close the working process, for
example task ended, lead lost, applicant hired
-- bar_fold: whether to hide the state in the statusbar; this is different
from fold that is used for kanban views. Viewing a pipe or a specific
record are effectively different things and should use different fields.
-- bar_color: field to customize the stage in the statusbar (still WIP)

- impacted addons: crm, project, project_issue, hr_recruitment
- removed 'closed' addition in project_mrp as this is now in base project
module

bzr revid: tde@openerp.com-20131018132120-h0pv01q2bagtp99x
2013-10-18 15:21:20 +02:00
Denis Ledoux f2e561afec [MERGE] Forward-port of latest saas-2 bugfixes, up to rev. 8960 rev-id: dle@openerp.com-20131018125818-1k168nlo2ferj25w
bzr revid: dle@openerp.com-20131018131007-etdut0wpjqhnexz2
2013-10-18 15:10:07 +02:00
Denis Ledoux a7e05f1af4 [MERGE] Forward-port of latest saas-1 bugfixes, up to rev. 8793 rev-id: dle@openerp.com-20131018124037-v3501acvv4fh1077
bzr revid: dle@openerp.com-20131018125818-1k168nlo2ferj25w
2013-10-18 14:58:18 +02:00
niv-openerp 7636d71dfc [FIX] potential bug in server-side web framework, now forbids users to call method when not authentified
bzr revid: nicolas.vanhoren@openerp.com-20131018125727-qtkzkiwkhw4z78kr
2013-10-18 14:57:27 +02:00
Martin Trigaux 10b09c13c7 [IMP] account: set test on closing account invoice on previous year instead of next one
bzr revid: mat@openerp.com-20131018124342-yccp0ftebmug4aco
2013-10-18 14:43:42 +02:00
Denis Ledoux 83ff86efe7 [FIX]account: test account_fiscalyear_close, the test was triggering the workflow with the 7.0 way, (due to the forward port of 7.0 bugfixes)
bzr revid: dle@openerp.com-20131018124037-v3501acvv4fh1077
2013-10-18 14:40:37 +02:00
Denis Ledoux c348a2f4cd [MERGE] Forward-port of latest saas-1 bugfixes, up to rev. 3747 rev-id: dle@openerp.com-20131018120136-fvoq337kgx74njsy
bzr revid: dle@openerp.com-20131018123253-pvf2tg747vflfp6x
2013-10-18 14:32:53 +02:00
niv-openerp c333546c35 Moved http.py to server
bzr revid: nicolas.vanhoren@openerp.com-20131018121312-z5rjbmda3nlvxc86
2013-10-18 14:13:12 +02:00
niv-openerp 04e9c7a19f Removed small usage of openerp.http
bzr revid: nicolas.vanhoren@openerp.com-20131018121243-o1ua7s85x75fwyuq
2013-10-18 14:12:43 +02:00
Denis Ledoux 1a555475cc [MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 9529 rev-id: mat@openerp.com-20131018120428-2vdmdm2th8rz57zr
bzr revid: dle@openerp.com-20131018121236-zp221von16vekthp
2013-10-18 14:12:36 +02:00
niv-openerp bf25c5ce8f merge trunk
bzr revid: nicolas.vanhoren@openerp.com-20131018120648-jtowyzes1zgm98dn
2013-10-18 14:06:48 +02:00
niv-openerp 5408aa8701 merge trunk
bzr revid: nicolas.vanhoren@openerp.com-20131018120618-0o7hsq6pb7b4zw37
2013-10-18 14:06:18 +02:00