Commit Graph

823 Commits

Author SHA1 Message Date
Alexis de Lattre 13e80f5e0e Make the creation of the invoice lines extensible too.
This change also fixes a bug when the fiscal position is changed on the sale order/purchase order : now, the account on the invoice line uses the fiscal position of the sale order/purchase order and not the fiscal position of the partner.

bzr revid: alexis@via.ecp.fr-20120116141824-iw7y1wdnueahahuz
2012-01-16 15:18:24 +01:00
Alexis de Lattre 1f9401bf41 Add _get_partner_to_invoice() to purchase module.
Inheritance of _prepare_invoice() now replaces the functions _get_payment_term() and _get_address_invoice(). I have checked that these two functions are not used elsewere in the addons and extra-addons.

bzr revid: alexis@via.ecp.fr-20120105214230-3wetu0v1foyeate3
2012-01-05 22:42:30 +01:00
Alexis de Lattre 638ca9122e Modularize the selection of the partner to invoice when invoicing from the picking.
With this modification, all the parameters of the invoice are correct even when the goods are delivered to a third party company i.e. when the partner who receives the goods (picking.address_id.partner_id) is not to partner who ordered the goods (picking.sale_id.partner_id).

bzr revid: alexis@via.ecp.fr-20120105160845-c6wk08k7v7i64zyl
2012-01-05 17:08:45 +01:00
Alexis de Lattre 8394afcf8a Extend the function action_invoice_create() so that the dict of the invoice is generated inside a dedicated function. We can now inherit this function in custom modules to add/modify values easily.
bzr revid: alexis@via.ecp.fr-20120105160635-ac6drtj2ei363r8l
2012-01-05 17:06:35 +01:00
Raphael Collet b68826fcdf [MERGE] from trunk
bzr revid: rco@openerp.com-20120104124524-at9z1c69ejpqhihz
2012-01-04 13:45:24 +01:00
Quentin (OpenERP) 211fa27cb2 [MERGE] merged with main trunk
bzr revid: qdp-launchpad@openerp.com-20111229135448-4lulia4oyhxsbgw1
2011-12-29 14:54:48 +01:00
Harry (OpenERP) 87b63fb210 [MERGE] merged with trunk developement branch.
bzr revid: hmo@tinyerp.com-20111222105411-t4hffrgst3bhv8jy
2011-12-22 16:24:11 +05:30
Harry (OpenERP) f55caf24c6 [FIX]stock: after confirmed physical inventory, move line should be confiemd.
bzr revid: hmo@tinyerp.com-20111222095534-9b2y2hdk0l20f789
2011-12-22 15:25:34 +05:30
Harry (OpenERP) ff625ae05f [FIX]stock: In consume product, destination location of consumed move should be default production location of product. if not have default production location, take destination location of parent move.
bzr revid: hmo@tinyerp.com-20111222095338-h249df9lru5nigno
2011-12-22 15:23:38 +05:30
Fabien Pinckaers c0380d53d3 [IMP] search on code for prod lot
bzr revid: fp@tinyerp.com-20111221222717-thhvlq0ryzl0gzv9
2011-12-21 23:27:17 +01:00
Mayur Maheshwari (OpenERP) c8a392ebcc [IMP]stock:remove a {}
bzr revid: mma@tinyerp.com-20111221124341-2syj4zsayed234eo
2011-12-21 18:13:41 +05:30
Harry (OpenERP) 9a96be108c [MERGE] merged with trunk development branch
bzr revid: hmo@tinyerp.com-20111221114056-er4niaw5vngl4iw5
2011-12-21 17:10:56 +05:30
Harry (OpenERP) 398e1bc624 [IMP] stock: clean yml, demo of stock process with basic shipment of Ice-cream
bzr revid: hmo@tinyerp.com-20111221113822-f57431koo3srgi0i
2011-12-21 17:08:22 +05:30
Fabien Pinckaers b04bdaff35 [IMP] char size for complete name in locations
bzr revid: fp@tinyerp.com-20111219225701-n32h374skx9342eb
2011-12-19 23:57:01 +01:00
Fabien Pinckaers 4aac8fed31 merge
lp bug: https://launchpad.net/bugs/902070 fixed

bzr revid: fp@tinyerp.com-20111219220415-xtiywdleabqeypav
2011-12-19 23:04:15 +01:00
Mayur Maheshwari (OpenERP) 82882c4b4d [FIX]stock: improve a name_serch method for name and prefix
bzr revid: mma@tinyerp.com-20111216061009-8g3oo2u190empr5u
2011-12-16 11:40:09 +05:30
Olivier Dony 9bfbdccfe2 [MERGE] stock: improved API for chained pickings creation, courtesy of Sebastien Beau (Akretion)
bzr revid: odo@openerp.com-20111215184954-grr461wg37nrvit9
2011-12-15 19:49:54 +01:00
Mayur Maheshwari (OpenERP) 153c913525 [FIX]delivery: make a name_search method on prfix
lp bug: https://launchpad.net/bugs/904495 fixed

bzr revid: mma@tinyerp.com-20111215132603-s1sl8s214kc53gka
2011-12-15 18:56:03 +05:30
Viktor Nagy d875b5e788 Made calls to action_done contain context as last argument.
lp bug: https://launchpad.net/bugs/902070 fixed

bzr revid: viktor.nagy@toolpart.hu-20111209083235-f8oox4qukn2dbuz2
2011-12-09 09:32:35 +01:00
Mayur Maheshwari (OpenERP) a2f6101d1d [FIX]stock:set a size of complete_name field in stock.location
lp bug: https://launchpad.net/bugs/899144 fixed

bzr revid: mma@tinyerp.com-20111205111920-mx5rp6gc3rirf9fw
2011-12-05 16:49:20 +05:30
sebastien beau f34e66ab32 [IMP] stock refactor _create_chained_picking
bzr revid: sebastien.beau@akretion.com.br-20111203115320-35jtptnnoyegqjcd
2011-12-03 12:53:20 +01:00
fp be78331f01 [FIX] misc fixes
bzr revid: fp@fp-laptop-20111201213212-7sn4d0e31pmc8a26
2011-12-01 22:32:12 +01:00
Olivier Dony 6864cd92ac [IMP] stock: improved labels and tooltips for valuation accounts
lp bug: https://launchpad.net/bugs/890193 fixed

bzr revid: odo@openerp.com-20111201003755-cj9i0q19vlta1i41
2011-12-01 01:37:55 +01:00
Kirti Savalia (OpenERP) f54d12eb4c [FIX]:original invoice state is invoiced when copied that picking invoice state should be 2binvoiced
lp bug: https://launchpad.net/bugs/893130 fixed

bzr revid: ksa@tinyerp.com-20111122062437-ypsyglttjoa86eek
2011-11-22 11:54:37 +05:30
Fabien Pinckaers 7bfb96dca4 [IMP] increase size of stock.move name field
bzr revid: fp@tinyerp.com-20111117191215-07ti90zwqzfwwehj
2011-11-17 20:12:15 +01:00
Raphael Collet bff6674525 [MERGE] lp:800100, make invoice number, mrp order ref, purchase order ref, sale order ref, and picking ref unique per company
bzr revid: rco@openerp.com-20111117154004-fbean9hqldvrsxdq
2011-11-17 16:40:04 +01:00
Numerigraphe - Lionel Sausin ff59fb5db9 [IMP] increase the stock move name's size
bzr revid: ls@numerigraphe.fr-20111117095214-aar5d4sdu74l113s
2011-11-17 10:52:14 +01:00
Divyesh Makwana (Open ERP) 0a2f3dff17 [IMP] stock : Improve the error message
bzr revid: mdi@tinyerp.com-20111117064409-3uxjcbd5g1y7jmrm
2011-11-17 12:14:09 +05:30
ron@tinyerp.com f3aa929bb0 [IMP, REF] stock: Removed constrain of uom factor comparision and add warning on rounding uom quantity
bzr revid: ron@tinyerp.com-20111116123251-7b63br1570yapt0b
2011-11-16 18:02:51 +05:30
Quentin (OpenERP) 9133dee256 [MERGE] merged the branch of tpa with usability improvements in warehouse and purchase
bzr revid: qdp-launchpad@openerp.com-20111115095027-qtkca801aic2e4bf
2011-11-15 10:50:27 +01:00
Divyesh Makwana (Open ERP) fa247f3357 [IMP] sale,purchase,mrp,stock,account : Constraint Error-Order Reference must be unique per company
bzr revid: mdi@tinyerp.com-20111114090520-1c3psfmzdi6ts9ni
2011-11-14 14:35:20 +05:30
Fabien Pinckaers b3939a9ce7 fix
bzr revid: fp@tinyerp.com-20111111164349-paugp48u0j69oq2k
2011-11-11 17:43:49 +01:00
Fabien Pinckaers e0fb260175 merge: factoring invoice stock from akretion
bzr revid: fp@tinyerp.com-20111111154059-mio3f96zha32ds28
2011-11-11 16:40:59 +01:00
Turkesh Patel (Open ERP) 89f5069a53 [IMP] set menu in warehouse and product,add default value in warehouse incomingshipment and delivary order form
bzr revid: tpa@tinyerp.com-20111111061652-ziay1lda4vs8qfat
2011-11-11 11:46:52 +05:30
ron@tinyerp.com 59a9f469da [IMP] Improved PEP standard
bzr revid: ron@tinyerp.com-20111110064723-phv553e5si9meyfb
2011-11-10 12:17:23 +05:30
ron@tinyerp.com 4e26a9025d [IMP] stock: Refectoring whole code after merged with addons
bzr revid: ron@tinyerp.com-20111110061639-urd36emcw2gl6ne2
2011-11-10 11:46:39 +05:30
ron@tinyerp.com 852b6945c3 [MERGE] Merged: lp:addons
bzr revid: ron@tinyerp.com-20111109103315-wgbf4rza0sg4etl5
2011-11-09 16:03:15 +05:30
Divyesh Makwana (Open ERP) 3e92b00eea [FIX] sale : Constraint Error-Order Reference must be unique per company
lp bug: https://launchpad.net/bugs/800100 fixed

bzr revid: mdi@tinyerp.com-20111109063048-i1z9mpz68aubht5r
2011-11-09 12:00:48 +05:30
Numerigraphe - Lionel Sausin d42d7f719e [IMP] Only allow internal locations as stock locations for warehouses
lp bug: https://launchpad.net/bugs/882481 fixed

bzr revid: ls@numerigraphe.fr-20111027100608-o59xw0qwx9ajixi1
2011-10-27 12:06:08 +02:00
Atik Agewan (OpenERP) 38ed934c8a [IMP] Stock:Change field name property_stock_variation into property_stock_valuation_account_id
bzr revid: aag@tinyerp.com-20111010113346-vopj07xuehwpm1u8
2011-10-10 17:03:46 +05:30
renatonlima@gmail.com 0d1a331d50 Merge proposal to make action_create_invoice more extensible
bzr revid: renatonlima@gmail.com-20111004223905-diinb3pmflbt9jrr
2011-10-04 19:39:05 -03:00
Olivier Dony 1d3ff0e52f [MERGE] sync with latest trunk
bzr revid: odo@openerp.com-20110927165219-ux50zxkszwpcfssd
2011-09-27 18:52:19 +02:00
Olivier Dony e45e0b75d8 [IMP] stock: cleanup stock.partial.{picking,move} wizards and fix dependencies and tests
bzr revid: odo@openerp.com-20110926003612-0wa6sghmlwbezwzk
2011-09-26 02:36:12 +02:00
Fabien Pinckaers 371366702b [FIX] receive and manually create a new one
bzr revid: fp@tinyerp.com-20110925232056-9t1lz4wf6t3ufjyz
2011-09-26 01:20:56 +02:00
Fabien Pinckaers 554213de32 merge
lp bug: https://launchpad.net/bugs/781642 fixed

bzr revid: fp@tinyerp.com-20110924104420-81opl9r0xrszg6u1
2011-09-24 12:44:20 +02:00
Fabien Pinckaers c3a79fbc36 merge
bzr revid: fp@tinyerp.com-20110924091037-kpy965dboeutk5y4
2011-09-24 11:10:37 +02:00
Mayur Maheshwari (OpenERP) a10570b1ec [IMP]stock: highlight a un-used function
bzr revid: mma@tinyerp.com-20110922100952-w7od697fouowomif
2011-09-22 15:39:52 +05:30
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
Rucha (Open ERP) 33ea039821 [MERGE]: Merge with lp:~openerp-dev/openobject-addons/trunk-statusbar-imp-mma
bzr revid: rpa@tinyerp.com-20110921133026-xr154e0jz6gkjwkf
2011-09-21 19:00:26 +05:30
Olivier Dony 6bdf7719fe [FIX] stock: proper context passing
bzr revid: odo@openerp.com-20110919112837-qhdt3cj41qvrf6e6
2011-09-19 13:28:37 +02:00