Commit Graph

52280 Commits

Author SHA1 Message Date
Olivier Dony a1d79115e5 [MERGE] Fix sale.order.line's `invoiced` flag, as part of forward-port of 6.1 server bugfixes
After forward-porting the 6.1 server bugfixes to trunk, a hidden bug
was revealed in the way sale.order.line's `invoiced` field
is updated. It makes the sale/test/cancel_order.yml test fail,
because the "recreate invoice" action does not work properly
if there are multiple cancelled invoices, due to incorrect
and outdated `invoiced` values on sale.order.lines.

By replacing the invoiced field with a stored fields.function
we simplify the code and fix this incorrect behavior at the
same time.

bzr revid: odo@openerp.com-20121130161809-0sf3z8k2530ze2zl
2012-11-30 17:18:09 +01:00
niv-openerp 053d6af231 [FIX] forgot to modify test after API change
bzr revid: nicolas.vanhoren@openerp.com-20121130140335-k1nus3oz1xw6deeu
2012-11-30 15:03:35 +01:00
Xavier Morel 4102c43793 [FIX] trailing comma in array
bzr revid: xmo@openerp.com-20121130133021-dg09qnw9twz2v4ws
2012-11-30 14:30:21 +01:00
Xavier Morel e137c9d747 [FIX] translations and other failings
always include a ``context`` param in rpc requests if none is
provided: use the user_context at the very least

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

bzr revid: xmo@openerp.com-20121130103651-4pf5bauj50cm151y
2012-11-30 11:36:51 +01:00
Xavier Morel 5d313f1754 [FIX] styllistic fixes
bzr revid: xmo@openerp.com-20121130103638-8r77jpmb3hhmo8dt
2012-11-30 11:36:38 +01:00
Fabien Pinckaers 33048d7c79 [IMP] merge addons23
bzr revid: fp@openerp.com-20121130100516-r0gspmovo8ebdqi0
2012-11-30 11:05:16 +01:00
Cedric Snauwaert e1ff74df35 [FIX]fleet : generation of contract cost should take into account current day too
bzr revid: csn@openerp.com-20121130095449-cypcvs98q76vlurp
2012-11-30 10:54:49 +01:00
niv-openerp 94dca54e38 [IMP] removed date.today() in pyeval
bzr revid: nicolas.vanhoren@openerp.com-20121130095228-mffq2407lq7tf8jj
2012-11-30 10:52:28 +01:00
niv-openerp 7b48ff70be [IMP] Removed usage of method date.today() in xml files.
bzr revid: nicolas.vanhoren@openerp.com-20121130095104-fnh6yxkvb0cxgc50
2012-11-30 10:51:04 +01:00
Launchpad Translations on behalf of openerp f12df4e8ea Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20121130050827-124dy1fyx1f113n9
bzr revid: launchpad_translations_on_behalf_of_openerp-20121130051820-ru59ffbuvhm96b8l
2012-11-30 05:18:20 +00:00
jojo la bricole 69cb769ec5 [MERGE] account journal items widget by dle
bzr revid: al@openerp.com-20121129174542-s8litnoi9kjfof80
2012-11-29 18:45:42 +01:00
dle@openerp.com 6f0fdd4ad0 [MERGE]Latest trunk
bzr revid: dle@openerp.com-20121129170352-m8hpklzkuhbfxvev
2012-11-29 18:03:52 +01:00
Quentin (OpenERP) 79286ac47d [MERGE] staging branch with fixes on slow analysis reports, and contracts managements
bzr revid: qdp-launchpad@openerp.com-20121129170332-mao60oyc3by1zzs8
2012-11-29 18:03:32 +01:00
niv-openerp 67706234d4 merge trunk
bzr revid: nicolas.vanhoren@openerp.com-20121129165723-rmwxuneebjm6tyw4
2012-11-29 17:57:23 +01:00
dle@openerp.com 8acb5e3d4a [DEL]Journal items wizard
bzr revid: dle@openerp.com-20121129164442-i50abrcy2ejvavee
2012-11-29 17:44:42 +01:00
Quentin (OpenERP) ab7d73f3e3 [IMP] analytic: usability
bzr revid: qdp-launchpad@openerp.com-20121129163313-aan0if5wex8v5dsx
2012-11-29 17:33:13 +01:00
Quentin (OpenERP) e6f7c72135 [MERGE] trunk
bzr revid: qdp-launchpad@openerp.com-20121129162840-sg55mzxs469a3poa
2012-11-29 17:28:40 +01:00
Olivier Dony 8782163830 [FIX] sale: the `invoiced` field on sale.order.line should be a function field
Having a static boolean field is a mess and requires
a lot of custom code to make sure it is up-to-date,
implying a large source of possible bugs.
Using a function field should take care of updating
it when needed.
All the write() calls that were updating it were
normally removed, and there was also some cleanup
in the surrounding areas (quite minimal).

bzr revid: odo@openerp.com-20121129162629-5lt9e0v5aju36itj
2012-11-29 17:26:29 +01:00
Quentin (OpenERP) 219edfa80d [FIX] analytic: fixed onchange of template
bzr revid: qdp-launchpad@openerp.com-20121129162558-sotcsrchh8p772xs
2012-11-29 17:25:58 +01:00
Fabien Pinckaers 720f9093bc [IMP] layout issue forms
bzr revid: fp@tinyerp.com-20121129162531-26hx9nwmq7f94kp4
2012-11-29 17:25:31 +01:00
Fabien Pinckaers f56badd825 [IMP] project_issue private note for phu
bzr revid: fp@tinyerp.com-20121129161458-232bfavt2f9lln41
2012-11-29 17:14:58 +01:00
Quentin (OpenERP) dc298cd336 [IMP] account_analytic_analysis: added an option to set the template field mandatory on contracts
bzr revid: qdp-launchpad@openerp.com-20121129160847-k4dr5hd4dh2y3gcw
2012-11-29 17:08:47 +01:00
niv-openerp f9b9e7c4cb [IMP] added context_today()
bzr revid: nicolas.vanhoren@openerp.com-20121129160746-c3c691zk5fxhzse0
2012-11-29 17:07:46 +01:00
niv-openerp c328296846 feature
bzr revid: nicolas.vanhoren@openerp.com-20121129160516-qxx5qpair0h73h4d
2012-11-29 17:05:16 +01:00
niv-openerp cc6f0aa20a [FIX] potential problem with pyeval datetime/date today()/now() methods. Now only returns the same timezone than server (UTC).
bzr revid: nicolas.vanhoren@openerp.com-20121129153601-vtpnvkc0vylo9hux
2012-11-29 16:36:01 +01:00
Olivier Dony 0ad3703b18 [FIX] sale: writing False on a m2m is a no-op, and rather confusing here
bzr revid: odo@openerp.com-20121129153330-ld55e5qksflqy3bx
2012-11-29 16:33:30 +01:00
dle@openerp.com d298d89500 [MERGE]latest trunk
bzr revid: dle@openerp.com-20121129152634-vaow28cyw2qcmr8x
2012-11-29 16:26:34 +01:00
dle@openerp.com cd9e7a3265 [FIX]Hide useless columns in bank statement
bzr revid: dle@openerp.com-20121129152444-vislwoifnro7khcw
2012-11-29 16:24:44 +01:00
Quentin (OpenERP) a520d65e87 [IMP] account: in account.move.line search view, allow to search on code of accounts as well as on the name column
bzr revid: qdp-launchpad@openerp.com-20121129152233-y5sqdyyygq76fcbi
2012-11-29 16:22:33 +01:00
dle@openerp.com bd458541c1 [FIX]Deleted ir.values makes test fail
bzr revid: dle@openerp.com-20121129145657-g8dgyay16mcije1r
2012-11-29 15:56:57 +01:00
Fabien Pinckaers 5b71f38603 [FIX]
bzr revid: fp@tinyerp.com-20121129145219-q6wqvzy61mki2j26
2012-11-29 15:52:19 +01:00
dle@openerp.com e08d02dc2b [Merge]merge mistakes
bzr revid: dle@openerp.com-20121129143607-lwzsfxv3rsu2eojc
2012-11-29 15:36:07 +01:00
Quentin (OpenERP) 81035fea58 [IMP] analytic: Add the parent field on the template form
bzr revid: qdp-launchpad@openerp.com-20121129142712-yoluy6mxeh7a6ax1
2012-11-29 15:27:12 +01:00
Quentin (OpenERP) 574f096fce [IMP] analytic: When creating new contract, select the Template and dates Start and are now adapted accordingly to current time
bzr revid: qdp-launchpad@openerp.com-20121129142428-zpdy567efax0s5qb
2012-11-29 15:24:28 +01:00
dle@openerp.com 2052aaffab [MERGE]trunk
bzr revid: dle@openerp.com-20121129142010-8yt0p417ibx3p7sy
2012-11-29 15:20:10 +01:00
dle@openerp.com 40042cec1b [MERGE]trunk
bzr revid: dle@openerp.com-20121129141854-2o6o44jhrpi54ssp
2012-11-29 15:18:54 +01:00
Xavier Morel c166c19ed1 [REM] dead code from evaluation being client-side only
bzr revid: xmo@openerp.com-20121129141759-wj4je85nkrfznql1
2012-11-29 15:17:59 +01:00
Xavier Morel 0b0cfff063 [MERGE] missing translation marks, courtesy of Csaba TOTH
lp bug: https://launchpad.net/bugs/1084306 fixed

bzr revid: xmo@openerp.com-20121129140109-bwx1njhyqfenc2d3
2012-11-29 15:01:09 +01:00
Quentin (OpenERP) b75fde3773 [FIX] account, sale_crm: fixed invoices analysis
bzr revid: qdp-launchpad@openerp.com-20121129134842-cro77z9siesjifdm
2012-11-29 14:48:42 +01:00
dle@openerp.com c72fc633fc [FIX]Wrong inherit commented
bzr revid: dle@openerp.com-20121129134318-c770ejnoop2b3z0j
2012-11-29 14:43:18 +01:00
niv-openerp 184593003b [FIX] race condition problem with m2m
bzr revid: nicolas.vanhoren@openerp.com-20121129134051-5hiw9z5hi99fxtve
2012-11-29 14:40:51 +01:00
Xavier Morel 759f11f110 [FIX] py.js: bug in tokenization of single-quoted empty string
bzr revid: xmo@openerp.com-20121129132738-fcnam8bkqyt7h8ey
2012-11-29 14:27:38 +01:00
dle@openerp.com 8cc5780e58 [FIX]More links
bzr revid: dle@openerp.com-20121129131317-0s1rru4pxjn0lzl3
2012-11-29 14:13:17 +01:00
Xavier Morel 9f76458404 [FIX] groupby on editable list
Because of the "meta" columns (e.g. group name column),
ListView#columns would end up with a different number of elements than
ListView#fields_view.arch.children, and when zipping them together (to
build the form view for edition) things wouldn't match anymore.

It would seem simply filtering out meta columns (and only keep those
actually specified by the view) is sufficient to fix the issue and
have everything line up again. I'm midly impressed.

bzr revid: xmo@openerp.com-20121129131301-scc38i4l55ea7lis
2012-11-29 14:13:01 +01:00
Fabien Pinckaers bd61641572 [FIX] project issue
bzr revid: fp@tinyerp.com-20121129130655-rm5hrk8m7tsy8g4v
2012-11-29 14:06:55 +01:00
Quentin (OpenERP) d760fe7f99 [MERGE] trunk
bzr revid: qdp-launchpad@openerp.com-20121129130433-wbcix78s6tdwc3r0
2012-11-29 14:04:33 +01:00
Quentin (OpenERP) b6997b7c74 [FIX] account: not enough argument given during format string
bzr revid: qdp-launchpad@openerp.com-20121129130346-ewydqj74l8h9qrby
2012-11-29 14:03:46 +01:00
Fabien Meghazi 7bfab22e1f [FIX] Propagate context to kanban's add_group() action
bzr revid: fme@openerp.com-20121129120738-fgulo5hqib2uqeqa
2012-11-29 13:07:38 +01:00
tsabi 83b7823f25 some more change in the new pyeval.js file
bzr revid: csaba.toth@i3rendszerhaz.hu-20121129115454-rpviywfnosjdmovm
2012-11-29 12:54:54 +01:00
tsabi 72109e7541 fix tab problem
bzr revid: csaba.toth@i3rendszerhaz.hu-20121129115306-ifncjymnmuk989eq
2012-11-29 12:53:06 +01:00