Commit Graph

183 Commits

Author SHA1 Message Date
Quentin (OpenERP) cd8641a228 [FIX] account_voucher: do not let the field payment_rate editable if the voucher is posted + [FIX] onchange_journal do not reset the amount to 0 anymore
bzr revid: qdp-launchpad@openerp.com-20111021154704-r7bi9a7iqpxaccem
2011-10-21 17:47:04 +02:00
Quentin (OpenERP) 5414fc7969 [IMP] account_voucher: changed the views for sale and purchase of the voucher in order to make them work with the new signature of the onchanges (included in previous revision) + corrected yaml tests to trigger the onchanges
bzr revid: qdp-launchpad@openerp.com-20111021153258-nw6rxt77yon5dudl
2011-10-21 17:32:58 +02:00
Quentin (OpenERP) 7f8fb0804a [IMP] account_voucher: added payment_rate field on the voucher, if you don't want to use the rate encoded in openerp for this payment + made some order in the views
bzr revid: qdp-launchpad@openerp.com-20111021135240-0qjjs9p7y92ed1nr
2011-10-21 15:52:40 +02:00
Quentin (OpenERP) 9ecff1245a [IMP] account_voucher: onchange_partner_id small refactoring + improved the splitting of the amount by existing voucher lines
bzr revid: qdp-launchpad@openerp.com-20111020144217-t4owndjuntdeuts9
2011-10-20 16:42:17 +02:00
Quentin (OpenERP) f3ef3af107 [FIX] account_voucher: fixed error in args of _get_exchange_lines()
bzr revid: qdp-launchpad@openerp.com-20111017100159-aqmm71eb2r9cgx1h
2011-10-17 12:01:59 +02:00
Quentin (OpenERP) 65ea032c1e [FIX] account_voucher: fixed error in amount_currency computation due to bad arguments sequence
bzr revid: qdp-launchpad@openerp.com-20111017095853-skdc5qi13m70kx33
2011-10-17 11:58:53 +02:00
Quentin (OpenERP) 3ee6198ef2 [FIX] account_voucher: fixed error in amount_currency computation due to bad arguments sequence
bzr revid: qdp-launchpad@openerp.com-20111017095553-zgujirudvnnuaos4
2011-10-17 11:55:53 +02:00
Quentin (OpenERP) d7a9d6f2c1 [MERGE] merged the refactoring of accounting entries creation method of account_voucher. Courtesy of Nhomar Hernandez (Vauxoo). + better docstrings of new methods
bzr revid: qdp-launchpad@openerp.com-20111013124423-ypw3j7sao4rkkh8m
2011-10-13 14:44:23 +02:00
Quentin (OpenERP) a4176117d8 [MERGE] lp:867461
bzr revid: qdp-launchpad@openerp.com-20111013065824-da8j6kec8mlcjcb8
2011-10-13 08:58:24 +02:00
Mustufa Rangwala da939a215a [FIX] account : in bank statement form when i tried to import invoice from button import invoices
lp bug: https://launchpad.net/bugs/867461 fixed

bzr revid: bde@tinyerp.com-20111012063800-p72utna4b9olsbeu
2011-10-12 12:08:00 +05:30
Quentin (OpenERP) 177ca871c9 [FIX] account_voucher: amount currency in voucher entries
bzr revid: qdp-launchpad@openerp.com-20111011144744-pqf9tth1p1osh8wt
2011-10-11 16:47:44 +02:00
Javier Duran 98fd90fcd8 [REF] Correcting bad comment
bzr revid: javier@vauxoo.com-20111011041415-ql0k37mouhu8a9fg
2011-10-11 00:14:15 -04:00
Javier Duran 410ee16b08 [REF] Just taking off some useless strings
bzr revid: javier@vauxoo.com-20111011040140-dkpt9hc76n029mwo
2011-10-11 00:01:40 -04:00
Javier Duran javier@vauxoo.com 737fccbbc2 [REF] Including decimal precision on amount_residual calculated to avoid account move lines when we have little very little rounding problems
bzr revid: javier@vauxoo.com-20111011035646-7jn8z1p8dw6l3f40
2011-10-10 23:56:46 -04:00
Javier Duran javier@vauxoo.com cb6892b20b [REF] Exchange difference move lines was pushed to an external method.
In this way calculation of this type of rounding method can be managed diferently 
from a law to another.

bzr revid: javier@vauxoo.com-20111011033233-ijbfcnp7f0tlcw2x
2011-10-10 23:32:33 -04:00
Javier Duran javier@vauxoo.com fd04f1bb9b [REF] All the context_multicurrency logic pushed in an external method it is called 3 times
bzr revid: javier@vauxoo.com-20111011024414-l78qdz3d3lv3eygg
2011-10-10 22:44:14 -04:00
Javier Duran javier@vauxoo.com a864b47156 [REF] Changing to an external method curr currency and comp currency
renaming a method from create to get

bzr revid: javier@vauxoo.com-20111010231046-f6j4us30lscj65lz
2011-10-10 19:10:46 -04:00
javier@vauxoo.com 8a8f4923e0 [REF] Modifying writeoff_move_line_create method to return a dict,
rename writeoff_move_line_create method to writeoff_move_line_get,
added docstring of writeoff_move_line_get methods follows the guideline.

bzr revid: javier@vauxoo.com-20111010221915-crmjncln12cnjpwv
2011-10-10 18:19:15 -04:00
javier@vauxoo.com 5141bf3d88 [REF] Modifying first_move_line_create method to return a dict,
rename first_move_line_create method to first_move_line_get
added docstring of first_move_line_get method follows the guideline.

bzr revid: javier@vauxoo.com-20111010210806-5b4zh7gb3hdabq6k
2011-10-10 17:08:06 -04:00
javier@vauxoo.com 4a58b3e8d3 [REF] Modifying action_move_create method to return a dict,
rename action_move_create method to account_move_get,
added docstring of account_move_get, methods follows the guideline.

bzr revid: javier@vauxoo.com-20111010193934-cnwxv0j63tln8gro
2011-10-10 15:39:34 -04:00
Javier Duran dbc307b540 [REF] Just added a final comment
bzr revid: info@vauxoo.com-20111009041519-10ab4qb46w8sc65k
2011-10-09 00:15:19 -04:00
Javier Duran 14b8b8d52b [REF] writeoff_move_line_create We put in an external methos the writeoff process
bzr revid: info@vauxoo.com-20111009040836-tqy6erz2qu6ih3uw
2011-10-09 00:08:36 -04:00
Javier Duran 451de7a5ca [REF] voucher_move_line_create was created to generate all lines of acc move
in an external method in this way in localization envoroment we can override just this method.

bzr revid: info@vauxoo.com-20111009034102-oqss5lzmh2vcbx0k
2011-10-08 23:41:02 -04:00
Javier Duran af970c6bab [REF] Creation of the first line in an external method call first_move_line_create
bzr revid: info@vauxoo.com-20111009024346-ertt0atg17d8t827
2011-10-08 22:43:46 -04:00
Javier Duran javier@vauxoo.com 81b73777fa [REF] Send outside action_move_line_create the process to create the account_move record
bzr revid: info@vauxoo.com-20111009003119-q3ab9jg72m4tpjvc
2011-10-08 20:31:19 -04:00
Javier Duran javier@vauxoo.com 560bab4062 [REF] The method call the voucher as 'inv' it is confusing whe you are reading a lot of lines and you are refering to something called diferently
bzr revid: info@vauxoo.com-20111008230626-g196xminfyudvnk6
2011-10-08 19:06:26 -04:00
Javier Duran javier@vauxoo.com 95384a0c97 [REF] Moved variables to be initialized in the correct place
bzr revid: info@vauxoo.com-20111008225814-0wzdey6gnb36tmyz
2011-10-08 18:58:14 -04:00
Nhomar Hernandez 7555b99e19 [REF] Deleted unused method _get_payment_term_lines on account_voucher, avoiding noise and so much lines in this code.
bzr revid: openerp@cl-t076-283cl-20111008224641-omo5xikllr1xryg7
2011-10-08 18:46:41 -04:00
Vo Minh Thu bd341cc6fe [IMP] ir_sequence: call it with the new methods.
bzr revid: vmt@openerp.com-20110929132254-eevlq6t9d6i6um7z
2011-09-29 15:22:54 +02:00
Fabien Pinckaers 7c5e3d47e7 [FIX] account_voucher
bzr revid: fp@tinyerp.com-20110927133413-8e1efrce2hifspov
2011-09-27 15:34:13 +02:00
Fabien Pinckaers 6391bf5173 [FIX] Account Voucher
bzr revid: fp@tinyerp.com-20110927130730-1jr4uxos5lbst2ub
2011-09-27 15:07:30 +02:00
Fabien Pinckaers c3a79fbc36 merge
bzr revid: fp@tinyerp.com-20110924091037-kpy965dboeutk5y4
2011-09-24 11:10:37 +02:00
Quentin (OpenERP) ae3b45d25c [FIX] account_voucher: fixed typo in error raised when one of the accounts for currency rate difference is not set on the company
bzr revid: qdp-launchpad@openerp.com-20110922134642-sgkm3e9fmgcr95r3
2011-09-22 15:46:42 +02:00
Rucha (Open ERP) 0e861ae34a [MERGE]: Merge with latest trunk-addons and resolved conflicts in bank statement as new state was added in statement
bzr revid: rpa@tinyerp.com-20110922061419-cvaza3f5050o0b85
2011-09-22 11:44:19 +05:30
Fabien Pinckaers 99a72c7792 [Useability] improved error message
bzr revid: fp@tinyerp.com-20110918134116-2vvdelak2268j6pz
2011-09-18 15:41:16 +02:00
Fabien Pinckaers 82e52a82e8 [FIX] bug 760412
bzr revid: fp@tinyerp.com-20110917115457-plm7fpndamsynpx5
2011-09-17 13:54:57 +02:00
Fabien Pinckaers 7fb72969d6 fix
bzr revid: fp@tinyerp.com-20110917114443-le0ik5o5h7j6a5pl
2011-09-17 13:44:43 +02:00
Fabien Pinckaers 889d83abcf fix
bzr revid: fp@tinyerp.com-20110917113009-0mhsyazmj5huh4yc
2011-09-17 13:30:09 +02:00
Mayur Maheshwari (OpenERP) 364f9aefa9 [IMP]stock,purchase_requisition,crm:statusbar Improvement is Done
bzr revid: mma@tinyerp.com-20110914131111-3o0jykg61r5eq98c
2011-09-14 18:41:11 +05:30
Quentin (OpenERP) f3003d4143 [FIX] account_voucher: fixed the case of supplier payments
bzr revid: qdp-launchpad@openerp.com-20110825174201-23wury3dpocfig3y
2011-08-25 19:42:01 +02:00
Quentin (OpenERP) 606484f0db [IMP] account_voucher: onchange amount now sets the writeoff amount and currency rate difference accordingly to the saved (and correct) values
bzr revid: qdp-launchpad@openerp.com-20110823142344-cwvgp309xu445f1b
2011-08-23 16:23:44 +02:00
Quentin (OpenERP) ccc5925c9b [IMP] account_voucher: fixed the assignation of voucher amount per voucher line
bzr revid: qdp-launchpad@openerp.com-20110823132701-wttepevy2jckm104
2011-08-23 15:27:01 +02:00
Quentin (OpenERP) 6cc14d8764 [IMP] account_voucher: selection of a specific invoice when coming from the button 'pay invoice' on that object, and context propagation
bzr revid: qdp-launchpad@openerp.com-20110822125318-cdqdixkqdf1arpv3
2011-08-22 14:53:18 +02:00
Quentin (OpenERP) eb940e8a68 [IMP] account_voucher: removed debug statement
bzr revid: qdp-launchpad@openerp.com-20110822114515-fdjibh32530k9jpz
2011-08-22 13:45:15 +02:00
Quentin (OpenERP) b8796fa5f1 [FIX] account_voucher: usability. onchange amount in lines now update correctly the wirteoff amounts and amount of currency rate difference
bzr revid: qdp-launchpad@openerp.com-20110822111506-r4pdrp4g6xiaiadd
2011-08-22 13:15:06 +02:00
Quentin (OpenERP) 592297de43 [FIX] account_voucher: fixed currency on voucher.line in case there was no move_line_id
bzr revid: qdp-launchpad@openerp.com-20110822105339-i8r8lcy1pki43gdo
2011-08-22 12:53:39 +02:00
Quentin (OpenERP) 4d1c90794a [MERGE] merged ara's branch on voucher
bzr revid: qdp-launchpad@openerp.com-20110822101614-2zicv5clceo3d4mv
2011-08-22 12:16:14 +02:00
Quentin (OpenERP) 951f18664e [MERGE] fixes on voucher
bzr revid: qdp-launchpad@openerp.com-20110822100938-n0wpk8phhxbv6zk2
2011-08-22 12:09:38 +02:00
Quentin (OpenERP) ef6a454dbb [FIX] account_voucher: fixed writeoff amount method to compute correct values under multi-currency scenario
bzr revid: qdp-launchpad@openerp.com-20110822100214-exxx5xigufvrppdu
2011-08-22 12:02:14 +02:00
ARA (OpenERP) 3008bf4b02 [IMP] improve period of account_voucher
bzr revid: ara@tinyerp.com-20110809085504-d9clu2tbry1vagt8
2011-08-09 14:25:04 +05:30