Commit Graph

240 Commits

Author SHA1 Message Date
Christophe Simonis acc7d20ea9 [MERGE] forward port of branch saas-3 up to ac865c8 2015-07-07 15:12:41 +02:00
Christophe Simonis ac865c8a78 [MERGE] forward port of branch 7.0 up to 9fa7624 2015-07-07 13:58:35 +02:00
Christophe Combelles 2c37f83435 [FIX] analytic: duplication of analytic lines
When duplicating analytic accounts, child accounts are duplicated as well.
The custom copy method removes the analytic lines but this applies only on the
first copy. As the copy_data method recursively copies child accounts, these
child accounts did not use the custom copy method but the basic copy_data.

Move to copy_data

Fixes #6368, lp:1149676
2015-07-02 16:54:46 +02:00
Xavier Morel f5b88f6309 [IMP] minor perf improvement during tests
During tests, some creation of user records would unnecessarily trigger
password reset or set a password, both of which would trigger password
hashing which takes some time (for good reasons).

Fix by:
* passing no_reset_password in YAML tests and some Python tests still
  missing it (a number of Python tests already used it)
* removing passwords from YAML records as they're never necessary, the
  test user records are not expected to ever log in
2015-06-26 14:22:29 +02:00
qdp-odoo ee92839465 [FIX] account: fixed inconsistence in yaml test since some demo data was added 2014-05-30 22:25:52 +02:00
Simon Lejeune 106d06ce5d [IMP] account* reports: removed unused class/report/commented code/test, added the abstract_report wrapper on all old style report classes + some fixes on views and wizards in order to use these classes to render the qweb reports
bzr revid: sle@openerp.com-20140402164053-gry12scy8zca68lv
2014-04-02 18:40:53 +02:00
Alexis de Lattre 0bd592bf64 [MERGE] merge with addons/trunk revno 8956
bzr revid: alexis@via.ecp.fr-20131027123104-tf61ztyztstbc9et
2013-10-27 13:31:04 +01: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
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
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
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
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 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
Martin Trigaux 345f6739eb [REM] account: unused test (merged with account_fiscalyear_close.yml)
bzr revid: mat@openerp.com-20131015141453-dbznqlqfo4beglz9
2013-10-15 16:14:53 +02:00
Martin Trigaux afaa1159ad [ADD] account: test for added check
bzr revid: mat@openerp.com-20131015141408-rpdp110btoc0wll3
2013-10-15 16:14:08 +02:00
Martin Trigaux 11308f37dd [FIX] test: avoid getting error when trying to send an email to the newly created user (email replaced by login)
bzr revid: mat@openerp.com-20131003143234-8tu732aa4rmycoif
2013-10-03 16:32:34 +02:00
Martin Trigaux c48504fdba [MERGE] sync with trunk (state -> stage removed some test)
bzr revid: mat@openerp.com-20130911110755-zf3ytf9m27im6x9k
2013-09-11 13:07:55 +02:00
Olivier Dony 788eb29237 [MERGE] Forward-port of 7.0 bugfixes up to rev.9369 rev-id: launchpad_translations_on_behalf_of_openerp-20130820051502-deoiql3lru7goosd
bzr revid: odo@openerp.com-20130820152607-0p0fx87v1rqhk3vy
2013-08-20 17:26:07 +02:00
Laetitia Gangloff (Acsone) c167918f88 test: correct some try/except test
bzr revid: laetitia.gangloff@acsone.eu-20130809070605-w6ti80ljpv5zsh2p
2013-08-09 09:06:05 +02:00
Laetitia Gangloff (Acsone) 3a369e15c2 test: correct some try/except test
bzr revid: laetitia.gangloff@acsone.eu-20130808143622-7kk0p7ve786kg1yd
2013-08-08 16:36:22 +02:00
sgo@tinyerp.com c9688c9d5d [IMP] improve code
bzr revid: sgo@tinyerp.com-20130507113419-hvk6cc9u3fxbpjl5
2013-05-07 17:04:19 +05:30
sgo@tinyerp.com c9271122b2 [IMP]remove access rights of account user and improve code
bzr revid: sgo@tinyerp.com-20130507111657-gg47ca2206q3knd7
2013-05-07 16:46:57 +05:30
sgo@tinyerp.com 1373b5cda0 [IMP]improve string and add groups in groups_id in crm and event
bzr revid: sgo@tinyerp.com-20130507071959-kwqmv7wwy7gqcsfj
2013-05-07 12:49:59 +05:30
sgo@tinyerp.com 5f203720ed [IMP]remove default_groups_ref and added to groups_id in yml in account and account_Voucher
bzr revid: sgo@tinyerp.com-20130507062914-t8bmem3auvjob5bl
2013-05-07 11:59:14 +05:30
sgo@tinyerp.com bbd2c2ea5e [IMP]give access rights for contact creation
bzr revid: sgo@tinyerp.com-20130429104042-1elyyf00shx03rsk
2013-04-29 16:10:42 +05:30
sgo@tinyerp.com 519956fad6 [MERGE]sync with trunk
bzr revid: sgo@tinyerp.com-20130329045423-45ka0rephkucvyai
2013-03-29 10:24:23 +05:30
sgo@tinyerp.com 2aa1350efc [MERGE]sync with trunk
bzr revid: sgo@tinyerp.com-20130326100719-85r6zm65cf8h8d1d
bzr revid: sgo@tinyerp.com-20130328060222-fb9ijzumjtedqbzs
2013-03-28 11:32:22 +05:30
Vo Minh Thu 9b0ced610f [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20130322134958-jhe6m0222jq7wo41
2013-03-22 14:49:58 +01:00
Raphael Collet 9584109b86 [IMP] cleanup of Yaml files: do not translate assert messages
bzr revid: rco@openerp.com-20130321131824-422cc4mk2bm9yrw8
2013-03-21 14:18:24 +01:00
sgo@tinyerp.com 1e14b22435 [IMP]add email to user as per new improvement
bzr revid: sgo@tinyerp.com-20130320054049-4cr1a52dlpfw2lgf
2013-03-20 11:10:49 +05:30
sgo@tinyerp.com eff57d769b [IMP]add user access rights as per new improvement
bzr revid: sgo@tinyerp.com-20130319105435-es76c9arqghz2rys
2013-03-19 16:24:35 +05:30
sgo@tinyerp.com f748568f3c [IMP]add access rights for create, read and write to acccount.journal and res.partner.bank
bzr revid: sgo@tinyerp.com-20130318114912-klopr2dtalsgbp4g
2013-03-18 17:19:12 +05:30
Vo Minh Thu 5029451905 [IMP] report yml test: use openerp.report.render_report() instead of LocalService().create().
bzr revid: vmt@openerp.com-20130222133511-y07w3etca8onb73x
2013-02-22 14:35:11 +01:00
sgo@tinyerp.com 12701f01a6 [IMP]add manager in supplier invoice yml
bzr revid: sgo@tinyerp.com-20130221064944-zhgumhtnum6z21jz
2013-02-21 12:19:44 +05:30
sgo@tinyerp.com 56cb7db019 [IMP]improve yml for account
bzr revid: sgo@tinyerp.com-20130221052958-metvr090gsubdc5u
2013-02-21 10:59:58 +05:30
Vo Minh Thu 02a114fe3b [FIX] import openerp.{netsvc,tools} instead of {netsvc,tools} in YML tests.
bzr revid: vmt@openerp.com-20130209062929-g85yauw92vj9wqpb
2013-02-09 07:29:29 +01:00
Vo Minh Thu 37dec8326d [FIX] import openerp.netsvc instead of netsvc in YML tests.
bzr revid: vmt@openerp.com-20130209062436-e2wfh3sgoufrh77t
2013-02-09 07:24:36 +01:00
Alexis de Lattre 253042ce87 Rename fields '_id' to '_ids', to reflect the change from many2one to many2many
Adapt the YAML test (but it still fails, I don't know why)

bzr revid: alexis@via.ecp.fr-20130207094845-fhawd5jw1409p7pc
2013-02-07 10:48:45 +01:00
Olivier Dony 84d7987f33 [MERGE] Bugfixes from 6.1 until revision 6900
rev.6900 = xal@openerp.com-20120720134532-t07xr3lp8ouhn2dv

bzr revid: odo@openerp.com-20121218021123-9ligpn7bkr9zo4n7
2012-12-18 03:11: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
dle@openerp.com 514952bdd3 [MERGE]Latest trunk
bzr revid: dle@openerp.com-20121128164105-m3hgq38xw6ikewa5
2012-11-28 17:41:05 +01:00
Fabien Pinckaers b9535b0f27 [IMP] Misc useability improvement in account
[MERGE] warehouse misc imp, receptions
[IMP] fixes in po

bzr revid: fp@tinyerp.com-20121126182811-kgqve7pzzqddx86g
2012-11-26 19:28:11 +01:00
Denis Ledoux dle@openerp.com 7e1ffaf613 [REM]Remove all account.journal.view and account.journal.column references
bzr revid: dle@openerp.com-20121122104504-ezgj2666zkhgybpj
2012-11-22 11:45:04 +01:00
Denis Ledoux dle@openerp.com d05caecd7e [MERGE][FIX][IMP]Latest trunk + lots of things. I should have pushed more often, but its too late now : (
bzr revid: dle@openerp.com-20121121172954-qpnw0arhb632b8ve
2012-11-21 18:29:54 +01:00
Olivier Dony f5f6547fa7 [MERGE] Sync with trunk
bzr revid: odo@openerp.com-20121113164544-21tmr4bmpt2n1mfl
2012-11-13 17:45:44 +01:00
Denis Ledoux dle@openerp.com 796176711a [FIX]Failed unit test in account cause of menu item id changes
bzr revid: dle@openerp.com-20121113134148-yfvlab39vn0gmeha
2012-11-13 14:41:48 +01:00
Olivier Dony 9824e0e19f [FIX] account: incorrect active_id context passed in tests of generic accounting reports
The reports only expects to get active_ids that correspond
to accounting report wizards

bzr revid: odo@openerp.com-20121112164348-3f580q3hywoiy7l0
2012-11-12 17:43:48 +01:00
Foram Katharotiya (OpenERP) 3e4fd766c6 [IMP] remove menu Customers / Journal Items
bzr revid: fka@tinyerp.com-20121107054433-gyd4q4fqncmm70pl
2012-11-07 11:14:33 +05:30