Commit Graph

330 Commits

Author SHA1 Message Date
Vo Minh Thu e69326ee3b [REF] removed explicit model instanciations.
bzr revid: vmt@openerp.com-20130415102349-vgcrfok2k5y10cwz
2013-04-15 12:23:49 +02:00
Quentin (OpenERP) 3fe67314cc [MERGE] forward port of fixes made in version 7
bzr revid: qdp-launchpad@openerp.com-20130214100628-0eaudbqhflpmjjyf
2013-02-14 11:06:28 +01:00
Quentin (OpenERP) 57ac1b0f04 [MERGE] fix of lp bug 1076509
lp bug: https://launchpad.net/bugs/1076509 fixed

bzr revid: qdp-launchpad@openerp.com-20130213164157-6ojykbl1w1on8ng8
2013-02-13 17:41:57 +01:00
Raphael Collet 5f855a1ddb [MERGE] from trunk
bzr revid: rco@openerp.com-20130213083519-3nbg40h5em0gfeu3
2013-02-13 09:35:19 +01:00
Quentin (OpenERP) b389ebdb1f [FIX] account_voucher: when picking the next move number, put the fiscalyear in context in case the sequence is dependant of it + period_id field is required on voucher
bzr revid: qdp-launchpad@openerp.com-20130205102314-y2giy53cr8vpv6yv
2013-02-05 11:23:14 +01:00
Ajay Chauhan (OpenERP) d4328ba8d5 [IMP] account_voucher: : use the new ORM methods create_workflow, delete_workflow, redirect_workflow.
bzr revid: cha@tinyerp.com-20130131115954-54u8z5ibntrs4sco
2013-01-31 17:29:54 +05:30
Vo Minh Thu ca919bec2c [IMP] account_voucher: use the new signal_xxx methods instead of trg_validate.
bzr revid: vmt@openerp.com-20130128145143-w68s6z1kuulqk6ig
2013-01-28 15:51:43 +01:00
Quentin (OpenERP) 912533f1f3 [MERGE] payment of invoice with amount_total = 0 is a valid operation, and is now supported in account_voucher
bzr revid: qdp-launchpad@openerp.com-20121221163252-q0hi14lrdcnnz5wm
2012-12-21 17:32:52 +01:00
dle@openerp.com 9128ad1481 [MERGE]Latest trunk + [FIX]Useless id in account invoice and
bzr revid: dle@openerp.com-20121221151350-8o8xri9jk3zs0x2e
2012-12-21 16:13:50 +01:00
dle@openerp.com 31d8bdaa34 [FIX]payment/receipt of amount 0, not just invoices : )
bzr revid: dle@openerp.com-20121221143637-wqmjg91g185s1val
2012-12-21 15:36:37 +01:00
Quentin (OpenERP) e9f9e1191c [FIX] account_voucher: bug fixed in the supplier partial payment. There is no need to take care of the sign as the residual amount of account.move.line is already taking care of it
bzr revid: qdp-launchpad@openerp.com-20121221130302-23v55ygcqekdlywi
2012-12-21 14:03:02 +01:00
dle@openerp.com 84bef2751c [FIX]Wrong condition and message
bzr revid: dle@openerp.com-20121221124441-lklcl8b2bmp5wo27
2012-12-21 13:44:41 +01:00
dle@openerp.com 9b7b831608 [MERGE]Latest trunk
bzr revid: dle@openerp.com-20121221101215-8k320vze3pma2wjl
2012-12-21 11:12:15 +01:00
Quentin (OpenERP) 118316430a [FIX] account_voucher; when making a payment directly from an invoice, copy the invoice description as payment reference (instead of number, which should never be filled except by the voucher validation) + open a correct view with improved usability on partner_id field
bzr revid: qdp-launchpad@openerp.com-20121221095844-5029t8z6twv67dsc
2012-12-21 10:58:44 +01:00
Thibault Delavallée e3c31cab9e [IMP] track_visibility atribute: moved onto explicit strings.
bzr revid: tde@openerp.com-20121220114730-nip8qaaajr5mqw6s
2012-12-20 12:47:30 +01:00
Josse Colpaert a02e894bfc [FIX] Correction when no account or no company
bzr revid: jco@openerp.com-20121219115517-uj3t8embox155kty
2012-12-19 12:55:17 +01:00
Josse Colpaert dc47ad6c73 [FIX] Added onchange_company for gain and loss accounts in config settings
lp bug: https://launchpad.net/bugs/1076509 fixed

bzr revid: jco@openerp.com-20121219092235-wci6jo81q2ihgpgd
2012-12-19 10:22:35 +01:00
Thibault Delavallée 884c76a1f0 [REF] account_voucher: chatter messages replaced by a track on state, with a _track on model with subtype state_change.
bzr revid: tde@openerp.com-20121218172330-dsy8dth8reafgq2i
2012-12-18 18:23:30 +01:00
Cecile Tonglet a3939acfa5 [FIX] replace from/import decimal_precision by from/import openerp.addons.decimal_precision
bzr revid: cto@openerp.com-20121217152303-8e3b1x30rlw9cb0d
2012-12-17 16:23:03 +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
Nimesh (Open ERP) 2b0a7a5776 [FIX] fix the problem of partial payment and purchase invoice will go to paid status even if the price is 0 in product.
bzr revid: nco@tinyerp.com-20121204100106-64i2borf2dyj8jt8
2012-12-04 15:31:06 +05:30
Quentin (OpenERP) 84050666ab [REF] some code/error message refactoring
[REM] account: removed _check_fiscal_year constraint on account.move.line (was made to ensure a journal item's date is included inbetween the date start and stop of the fiscalyear it belongs) over which we have a doubt
[FIX] account: fixed _check_currency_and_amount constraint on account.move.line (having 0 as amount_currency is a legal value since debit and credit can both be 0 (used in case of complex taxes))
[FIX] account_voucher: changed the behavior in order to restrict the update of the journal in a bank statement only when there is a voucher already created/generated for that, because previous check was too restrictive.

bzr revid: qdp-launchpad@openerp.com-20121122142819-wvqak470vn3ete27
2012-11-22 15:28:19 +01:00
Quentin (OpenERP) df1569f9f1 [MERGE] trunk
bzr revid: qdp-launchpad@openerp.com-20121122140800-1z8t57k0c2leaaqx
2012-11-22 15:08:00 +01:00
Fabien Pinckaers bfe22e3c72 [MERGE] fix voucher multi-lines rounding on taxes
bzr revid: fp@tinyerp.com-20121114111705-0ic4me8loy4jq3fl
2012-11-14 12:17:05 +01:00
Quentin (OpenERP) ab297a3dad [REF] account_voucher: refactoring of new featured button to create/edit the reconciliations on bank statement line
bzr revid: qdp-launchpad@openerp.com-20121113123013-htxy2ods9rkynt75
2012-11-13 13:30:13 +01:00
Quentin (OpenERP) b3a8ad5d2d [MERGE] trunk
bzr revid: qdp-launchpad@openerp.com-20121113111638-lwlcno51ule5aq54
2012-11-13 12:16:38 +01:00
Fabien Pinckaers c52dde11c0 [MERGE] fix unactivated sequence of journal
bzr revid: fp@tinyerp.com-20121112084616-yq549c81jidk16yd
2012-11-12 09:46:16 +01:00
vta vta@openerp.com 87a3464329 [IMP] Added onchange methods in account_voucher.account_bank_statement_line for parent_id and amount in order to set the voucher_id to False.
bzr revid: vta@openerp.com-20121110180129-ww29a3ciuo90iop5
2012-11-10 19:01:29 +01:00
vta vta@openerp.com 5d112d629b [MERGE] Latest trunk.
bzr revid: vta@openerp.com-20121108123206-7g866idcg3s58df2
2012-11-08 13:32:06 +01:00
vta vta@openerp.com bee0f20b66 [IMP] Set the new voucher as inactive.
bzr revid: vta@openerp.com-20121107081827-ncls1h2c5pbjvis3
2012-11-07 09:18:27 +01:00
vta vta@openerp.com 01d33d5d06 [IMP] Make account.voucher inactive by default, and only change its state when confirming the corresponding bank statement. Improved bank statement unlink method, also removing its corresponding vouchers.
bzr revid: vta@openerp.com-20121106153602-jmtaqkn55o5hxwyv
2012-11-06 16:36:02 +01:00
Quentin (OpenERP) 1795a34291 [FIX] account_voucher: using pay invoice wizard on customer refund was creating wrong entries
bzr revid: qdp-launchpad@openerp.com-20121106123759-rli58yp8lwyub59o
2012-11-06 13:37:59 +01:00
Mayur Maheshwari (OpenERP) 973d784810 [FIX]account_voucher : improved code
bzr revid: mma@tinyerp.com-20121105084037-iuqq0l9lln1o9e4j
2012-11-05 14:10:37 +05:30
Mayur Maheshwari (OpenERP) fd8f46b39a [FIX]account_voucher : improved some code
bzr revid: mma@tinyerp.com-20121105072021-236ci5s510fx5deq
2012-11-05 12:50:21 +05:30
Mayur Maheshwari (OpenERP) 7637a134e2 [FIX]account_voucher : removed un-used variable
bzr revid: mma@tinyerp.com-20121105065327-3x4xqyf88d1tdgwb
2012-11-05 12:23:27 +05:30
Somesh Khare(OpenERP) 1dde3091d2 [FIX]account_voucher : journal entry not balancing from purchase reciept
bzr revid: mma@tinyerp.com-20121105065106-195oyhgl3x266r9t
2012-11-05 12:21:06 +05:30
Mayur Maheshwari (OpenERP) e782d6fb3c [FIX]account_voucher: while paying the invoice of selected journal in voucher has inactive sequence that will throw the traceback it should raise warning
bzr revid: mma@tinyerp.com-20121101095033-enb2bmc43xox1n6i
2012-11-01 15:20:33 +05:30
vta vta@openerp.com 8f29452027 [IMP] Improved voucher_id field in bank statement lines.
bzr revid: vta@openerp.com-20121031140334-mqi6hcofjuk4zps0
2012-10-31 15:03:34 +01:00
Joël Grand-Guillaume 516e8697dd [FIX] Re-add the call to super in create_move_from_st_line in the voucher module. I removed it by mistake... Thanks to Stefan
bzr revid: joel.grandguillaume@camptocamp.com-20121031125003-0oe3d4ncvmblmc8p
2012-10-31 13:50:03 +01:00
Joël Grand-Guillaume 85b2285e49 [MRG] From last trunk
bzr revid: joel.grandguillaume@camptocamp.com-20121029152959-ugtxjoe8rc7mlhcp
2012-10-29 16:29:59 +01:00
Quentin (OpenERP) 62d16ecd3e [MERGE] staging branch with bugfixes + add of an option to enable the check total feature on supplier invoices
bzr revid: qdp-launchpad@openerp.com-20121029091713-z4vx02bzf9bswceu
2012-10-29 10:17:13 +01:00
Joël Grand-Guillaume 9527a10ba5 [IMP] Forbid to change the journal of a bank statement if you already have a line in it. This is done in the voucher, cause this is the case that break : when voucher is created and you change the journal, it'll result in having entries generated on various journal which is not consistent.
bzr revid: joel.grandguillaume@camptocamp.com-20121026111641-a0lg5h1mcyh1tit7
2012-10-26 13:16:41 +02:00
Fabien Pinckaers a7368145ca [MERGE] typo
bzr revid: fp@openerp.com-20121024201424-98la8f2wkhfjrtae
2012-10-24 22:14:24 +02:00
Quentin (OpenERP) 4cf7382905 [IMP] account_voucher: improved error messages
bzr revid: qdp-launchpad@openerp.com-20121024091249-b12vibq7h0fi41cj
2012-10-24 11:12:49 +02:00
Quentin (OpenERP) 8ca8f50656 [FIX] account_voucher: fixed yaml test in order to reflect what the client are really sending as information
bzr revid: qdp-launchpad@openerp.com-20121019110720-xhkhzd04caczsz41
2012-10-19 13:07:20 +02:00
Mayur Maheshwari (OpenERP) 8346293d72 [MERGE]: Merge with lp:openobject-addons
bzr revid: mma@tinyerp.com-20121015090200-irfaskfn9i1p68j9
bzr revid: mma@tinyerp.com-20121016052513-vl56jxtp7xbpa2ry
2012-10-16 10:55:13 +05:30
Quentin (OpenERP) eea4d6ee73 [IMP] account, account_voucher: moved some fields from res.company to accounting settings + removed duplicated fields (in company form view AND accounting settings)
bzr revid: qdp-launchpad@openerp.com-20121015135027-fbapd9h06gtixpep
2012-10-15 15:50:27 +02:00
Mayur Maheshwari (OpenERP) 0b87880029 [IMP]all: imporve string state to status
bzr revid: mma@tinyerp.com-20121012114258-w2q3hg1wb5wlt8wi
2012-10-12 17:12:58 +05:30
Quentin (OpenERP) cb89d2d842 [FIX] account_voucher: wrong accounting entry for supplier payment in foreign currency
lp bug: https://launchpad.net/bugs/1007487 fixed

bzr revid: qdp-launchpad@openerp.com-20121010135359-0h0cxeyvk8lrtzni
2012-10-10 15:53:59 +02:00
Quentin (OpenERP) f2cc9b9f5e [FIX] account_payment: fixed error in yalm tests due to value returned for a field not present in the view
bzr revid: qdp-launchpad@openerp.com-20121005085355-92vao01nusvl1ik5
2012-10-05 10:53:55 +02:00