Commit Graph

16 Commits

Author SHA1 Message Date
Goffin Simon 7cf20afb0b [FIX] account_check_writing: wrong duplicate period
When duplicating an account voucher, the period was duplicated even if
the Bill Date didn't match with it.

opw:669850
2016-03-07 15:32:29 +01:00
Atchuthan b3008fd724 [FIX] account_check_writing: Do not duplicate voucher number
In the base model `account.voucher`, in the module `account_voucher`,
the field `number` is set with `copy=False`, to avoid
copy the voucher number and force to re-use the voucher sequence.

The module `account_check_writing` redefine this column,
but forgot to set the `copy=False`. Therefore, once
this module installed, the voucher number is copied
on the voucher duplication.

opw-669154
2016-02-19 18:25:06 +01:00
Wolfgang Taferner 29d28b05e4 [FIX] account_check_writing: modify voucher amount without company
The code used the key vals['company_id'] while it was not checked it was present
in the write call (and it should not necessary).
If a key is not present, browse the record instead.

Fixes #8906
2015-10-07 12:14:30 +02:00
Nicolas Lempereur 8ae67f6a54 [FIX] fields: correct sides effect of change to old api
The commit 3269ad8f get back the behaviour of 7.0 (which changed in
october 2014) that when a field is overrided via the old api, attributes
of a previous definition of the field are lost.

This fix corrects the case when this behaviour might have had an effect
so specified attributes overrided don't get lost.

related to opw-639712
2015-06-12 15:09:06 +02:00
Jaydeep Barot 026e38b48f [REM] Unnecessary `size` parameters on char fields 2014-06-25 17:13:43 +02:00
Simon Lejeune 7ad6d7a150 [FIX] Report: usage of ids in get_action more consistent: only pass them when they are useful, else pass an empty list
bzr revid: sle@openerp.com-20140502130310-106au0jsza0b3nwe
2014-05-02 15:03:10 +02:00
Kersten Jeremy 6a01718aef [FIX] Remove test from saas-3 - Tech Saas & AL agreement
bzr revid: dle@openerp.com-20140311164559-1vi0mw3qm8n0vobn
bzr revid: dle@openerp.com-20140312111450-smumao0hm1vzifgn
bzr revid: dle@openerp.com-20140312121555-uum96hj8f2y1rvna
bzr revid: jke@openerp.com-20140312125757-e2kgxuwz0jko77ve
2014-03-12 13:57:57 +01:00
Denis Ledoux 1508c5dd00 [MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 9718 rev-id: dle@openerp.com-20131224103535-rhtje7dnq1ie7jtb
bzr revid: tde@openerp.com-20131220162158-hbgktly09dv37958
bzr revid: dle@openerp.com-20131223155041-8zp8e08fihbr0ie2
bzr revid: dle@openerp.com-20131224112407-aw6dq2q92312kjbk
2013-12-24 12:24:07 +01:00
Denis Ledoux 36846db2c3 [FIX] account_check_writing: display real currency name on check print
Instead of 'Euro' hardcoded.
As the currency complete name is not available in res.curreny model, exceptions are made for currencies EUR, USD and BRL, the mosts used currencies for checks (+75% of cases)

bzr revid: dle@openerp.com-20131223154631-21oenwn8mxszyo5t
2013-12-23 16:46:31 +01:00
Vo Minh Thu e69326ee3b [REF] removed explicit model instanciations.
bzr revid: vmt@openerp.com-20130415102349-vgcrfok2k5y10cwz
2013-04-15 12:23:49 +02:00
Cecile Tonglet baeefa6952 [FIX] replace from/import stuffs of openerp stuffs by from/import openerp.stuffs
bzr revid: cto@openerp.com-20121217154628-0c0i8y3389yz4dxd
2012-12-17 16:46:28 +01:00
Vo Minh Thu e7f4891d46 [IMP] use the openerp namespace.
bzr revid: vmt@openerp.com-20121206145632-0h1coh5aaem65wsy
2012-12-06 15:56:32 +01:00
Sanjay Gohel (Open ERP) dd95c3c28c [IMP]add condition on context if its none for account and project module
bzr revid: sgo@tinyerp.com-20120605115100-sk723sr60x7twb53
2012-06-05 17:21:00 +05:30
Quentin (OpenERP) 4a94de154b [MERGE] added account_check_writing module
bzr revid: qdp-launchpad@openerp.com-20120130161349-2xvk0p3xnar67gkf
2012-01-30 17:13:49 +01:00
Quentin (OpenERP) 1f796b89d9 [IMP] account_check_writing, review: code improvements and cleaning
bzr revid: qdp-launchpad@openerp.com-20120123124429-0656ahqedqe6f05q
2012-01-23 13:44:29 +01:00
Dhara (OpenERP) 21bc53d023 [NEW] Account Check Writing-1
bzr revid: dhara_openerp-20111013211147-hs0qruje2t6vnyl5
2011-10-13 14:11:47 -07:00