Commit Graph

77 Commits

Author SHA1 Message Date
Fabien Pinckaers 16cce23c1a [IMP] invoice layout + merge note&name
bzr revid: fp@openerp.com-20120714203623-9n1iap9hplafnjp9
2012-07-14 22:36:23 +02:00
Quentin (OpenERP) d1282d2ad5 [REF] sale/purchase: added reference to lp bug for the workaround to delete when the framework is improved in order to be more modular towards the use of _inherit and _name on the same class
bzr revid: qdp-launchpad@openerp.com-20120508224213-ztdx8tv8mo0o02i4
2012-05-09 00:42:13 +02:00
Quentin (OpenERP) 7e84b4c1ce [FIX] stock: fixed error in yaml test. sale, purchase: fixed error on module installation with a temporary workaround that duplicates the reference of new fields on stock.picking.in/out classes (these lines should be removed as soon as the bug in the framework that prevent the orm of knowing the new columns on inhertied class is fired)
bzr revid: qdp-launchpad@openerp.com-20120508163204-hjg6ztjr38m1cydl
2012-05-08 18:32:04 +02:00
Kuldeep Joshi (OpenERP) 50997f9fe8 [Fix]sale: remove res.address.partner.address
bzr revid: kjo@tinyerp.com-20120305132543-92ba124cpg4zbrix
2012-03-05 18:55:43 +05:30
Alexis de Lattre d4842703e2 Remove the "ids" argument from the function _prepare_order_line_invoice_line because it is not needed in our _prepare_* functions.
bzr revid: alexis@via.ecp.fr-20120201182809-e842pbb9t4bx97y9
2012-02-01 19:28:09 +01:00
Raphael Collet eea68d6981 [MERGE] sale, purchase, stock: refactoring of invoice creation (Alexis de Lattre, Raphael Valyi)
bzr revid: rco@openerp.com-20120131105322-80x7fp2u1z5fyo6o
2012-01-31 11:53:22 +01:00
Raphaël Valyi 12185b8c88 [REF] sale: refactored invoice line creation from picking including service. So we now use the same method as in invoicing upon order (the met$
This is better to have the code factored as checks upon accounts are factored in a single stronger code.
Also this fixes bug https://bugs.launchpad.net/openobject-addons/+bug/922427 I discovered while refactoring.
Notice that we still look at the picking type and eventually force the account_id (and yes that service line is a product).

lp bug: https://launchpad.net/bugs/922427 fixed

bzr revid: rvalyi@gmail.com-20120127050005-z1s4aby1qqcrpgbi
2012-01-27 03:00:05 -02:00
Alexis de Lattre 7b6622a2eb Document the new methods I introduced with the standard @param and @return syntax
Remove a print

bzr revid: alexis@via.ecp.fr-20120119214053-8tf189abeszi208b
2012-01-19 22:40:53 +01:00
Alexis de Lattre da9d506349 Override values even when they are empty (a user may empty a value on a sale order or purchase order and would like the empty field to be "copied" on the invoice).
bzr revid: alexis@via.ecp.fr-20120116141643-boglddgratoro59p
2012-01-16 15:16:43 +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 752186173f If the fiscal position has been changed on the sale order, the invoice should use the fiscal posion of the sale order and not the fiscal position of the partner.
bzr revid: alexis@via.ecp.fr-20120105162343-tf8359d8hrk7r2j1
2012-01-05 17:23:43 +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
Hemendra Paregi (Open ERP) 40860b517b [IMP] Remove Extra Spaces
bzr revid: hpa@tinyerp.com-20111228132520-od6cjuvyfc2n7ln6
2011-12-28 18:55:20 +05:30
Hemendra Paregi (Open ERP) afb6030523 [IMP]SOL contain service duplicate on invoice
lp bug: https://launchpad.net/bugs/907211 fixed

bzr revid: hpa@tinyerp.com-20111226102146-ncss7v7bmw0oc7bm
2011-12-26 15:51:46 +05:30
Olivier Dony b98867779a [IMP] sale: used improved stock API added by previous commit
bzr revid: odo@openerp.com-20111215185434-s2mo587pl2a0s4ng
2011-12-15 19:54:34 +01:00
Numerigraphe - Lionel Sausin 779fa653c1 [IMP] Added missing vim mode lines
lp bug: https://launchpad.net/bugs/524279 fixed

bzr revid: ls@numerigraphe.fr-20111122085138-x6u2lcl6vrpyybp9
2011-11-22 09:51:38 +01:00
Fabien Pinckaers a5abffbc65 merge
bzr revid: fp@tinyerp.com-20111111103533-x52h83i99u01q0tn
2011-11-11 11:35:33 +01:00
Kirti Savalia (OpenERP) 4bfa2880b1 [IMP]:improve code and remove the loop for invoice
bzr revid: ksa@tinyerp.com-20111111054021-b2sv5f6jegyjs403
2011-11-11 11:10:21 +05:30
Kirti Savalia (OpenERP) 545cfadbc7 [IMP]:improve the code
bzr revid: ksa@tinyerp.com-20111109124535-007u96rruh7ozkjf
2011-11-09 18:15:35 +05:30
Kirti Savalia (OpenERP) 209e13d816 [FIX]:wrong salesman on invoice from create picking
bzr revid: ksa@tinyerp.com-20111109100229-s93f78sjahswdpj7
2011-11-09 15:32:29 +05:30
ARA (OpenERP) cb2f7dc525 [FIX] sale: Wrong account for invoice lines created from delivery for service products
bzr revid: ara@tinyerp.com-20110414093453-1nbi00dhnxis5omx
2011-04-14 15:04:53 +05:30
ARA (OpenERP) eb33c13ac2 [FIX] sale: Wrong account for invoice lines created from delivery for service products
lp bug: https://launchpad.net/bugs/757687 fixed

bzr revid: ara@tinyerp.com-20110414060139-g923buqvjxx1fu3k
2011-04-14 11:31:39 +05:30
ksa (Open ERP) 2e44e541ba [FIX]:Notes from the sale order lines are not copied to pickings
lp bug: https://launchpad.net/bugs/723176 fixed

bzr revid: ksa@tinyerp.co.in-20110223102243-q6x3x9oaks58tk49
2011-02-23 15:52:43 +05:30
Fabien Pinckaers 889038611d fix
bzr revid: fp@tinyerp.com-20101229162607-fpmdqtm0x9bo17yt
2010-12-29 17:26:07 +01:00
Mustufa Rangwala b0f61a9546 [MERGE] merge from trunk addons
bzr revid: mra@mra-laptop-20101214130232-wqsim6966u1hilu9
bzr revid: mra@mra-laptop-20101217043732-ri8dfx38pacpruye
2010-12-17 10:07:32 +05:30
uco (OpenERP) d827b2f6ea [REF]: Added remaining context changes in _constraints. Removed unnecessary checking for context from methods.
bzr revid: uco@tinyerp.com-20101213064309-vg36f1510xv2f8zb
2010-12-13 12:13:09 +05:30
Mustufa Rangwala 7b390b3c81 [FIX] Sale_*: Misc improvements (tooltips,strings...etc)
lp bug: https://launchpad.net/bugs/687463 fixed

bzr revid: mra@mra-laptop-20101213060723-3yvidr2b3x9n4q6n
2010-12-13 11:37:23 +05:30
uco (OpenERP) b1cf433ecc [MERGE]: Merged with trunk-addons.
bzr revid: uco@tinyerp.com-20101206131102-z2xzz8eshkswo00q
2010-12-06 18:41:02 +05:30
P. Christeas 7c5d0e6aba delivery, purchase, sale, stock_location: minor fixes, mutable args
bzr revid: p_christ@hol.gr-20101127201616-fq46x1c2uo7s7b62
2010-11-27 22:16:16 +02:00
rpa (Open ERP) 49bf593d78 [REF]: sale/stock.py: Put proper variable name to make code properly readable for uos
bzr revid: rpa@tinyerp.com-20101124121133-pyo7ifgdd80l38lx
2010-11-24 17:41:33 +05:30
uco (OpenERP) 6dd290e824 [REF]: Replace the condition 'if not context' with 'if context is None'.
bzr revid: uco@tinyerp.com-20101123070505-9i2lrqhgxzaii3zn
2010-11-23 12:35:05 +05:30
aag (OpenERP) 864423b1f4 [IMP] inmprovement in sale for Logistics and in sale/stock.py
bzr revid: aag@tinyerp.co.in-20101122130829-y2vwtrtndgy1s4ne
2010-11-22 18:38:29 +05:30
uco (OpenERP) 8035df3e11 [IMP]: Added context=None in function argument for rest modules.
bzr revid: uco@tinyerp.com-20101122103753-idv9fdaqc28rvugu
2010-11-22 16:07:53 +05:30
aag (OpenERP) c513041a32 [FIX] SALE: invoice from packing wrong price/unit if product has uos
lp bug: https://launchpad.net/bugs/668378 fixed

bzr revid: aag@tinyerp.co.in-20101104101019-c219duu0021gjs4h
2010-11-04 15:40:19 +05:30
pso a20240b078 [IMP] sale: cleaning module
bzr revid: pso@tinyerp.com-20101021093004-lcfd7eiq2tptqutm
2010-10-21 15:00:04 +05:30
mtr 7a84c915e5 [IMP] sale:-improvements in sale as per base_module_quality
bzr revid: mtr@mtr-20101015084813-brm71mb0hg7sajqo
2010-10-15 14:18:13 +05:30
Olivier Dony cda95a00e6 [REM+IMP] sale: inherited stock wizard: remove incorrect computation of product cost + minor lint cleanup
bzr revid: odo@openerp.com-20101014003835-cxsvl0aj2cjwaj2l
2010-10-14 02:38:35 +02:00
sbh (Open ERP) eaf5e50adc [IMP] stock: change the name of argument
bzr revid: sbh@tinyerp.com-20100916090829-xoavbubn94wqwizm
2010-09-16 14:38:29 +05:30
sbh (Open ERP) 98fb031bd0 [IMP] stock,sale: Move the code into sale
bzr revid: sbh@tinyerp.com-20100916090722-fkwvzhn03gmo937r
2010-09-16 14:37:22 +05:30
sbh (Open ERP) 08c1ed1f64 [Fix] sale,purchase: Fix the name
bzr revid: sbh@tinyerp.com-20100916060816-vi4wxobnktcv2nyy
2010-09-16 11:38:16 +05:30
sbh (Open ERP) 495318ea48 [Fix] sale: remove the purchase_line_id from sale
bzr revid: sbh@tinyerp.com-20100916055017-x9gf8agtna3y4i91
2010-09-16 11:20:17 +05:30
Olivier Dony ef7ecffa29 [FIX/REF] stock,purchase,sale: refactored stock valuation handling + fixed multicompany/multicurrency issues
lp bug: https://launchpad.net/bugs/609135 fixed

bzr revid: odo@openerp.com-20100915180100-qbjxdj0n63teg7pg
2010-09-15 20:01:00 +02:00
sbh (Open ERP) 81909b9e72 [Fix] stock: fix the name of type
bzr revid: sbh@tinyerp.com-20100915132255-mdgwqf5xr2j0xie7
2010-09-15 18:52:55 +05:30
sbh (Open ERP) 5b30099986 [Fix] stock : Move the stock_partial_move sale and purchase realated code into there module
bzr revid: sbh@tinyerp.com-20100915124117-1ja17fd3m3arwn3g
2010-09-15 18:11:17 +05:30
sbh (Open ERP) cbf69ba938 [Fix] stock : Move the sale and purchase related code in to there module
bzr revid: sbh@tinyerp.com-20100915112508-9eq3w14bjylgzd7x
2010-09-15 16:55:08 +05:30
sbh (Open ERP) fe76938598 [Fix] stock,sale:Remove the sale_order_line in stock and add the code in sale
bzr revid: sbh@tinyerp.com-20100914133938-qv3zf19pjasx865u
2010-09-14 19:09:38 +05:30
Jay (OpenERP) 330975ee7f [FIX] SO/PO should be allowed to cancel by un-linking relavent picking
lp bug: https://launchpad.net/bugs/596862 fixed

bzr revid: jvo@tinyerp.com-20100825190701-gszxsb81u1lofkkv
2010-08-26 00:37:01 +05:30
MTR(OpenERP) 3a87abb72e [IMP] Sale: Code Improved
bzr revid: mra@mra-laptop-20100818062259-8qi7bfpuk9wt7f4z
2010-08-18 11:52:59 +05:30
Rvo (Open ERP) 45a8d54f18 [CLEAN]: removed commented code, fixed proper indentation in dictionary and removed extra spaces at few places
bzr revid: rvo@tinyerp.co.in-20100813122005-qj1l1iumkfmocyvk
2010-08-13 17:50:05 +05:30
Olivier Dony 224caa68be [REVERT] sale: reverted incorrect model change in sale.order.line, we need to be able to have multiple invoice.lines per sale.order.line
bzr revid: odo@openerp.com-20100804185919-imyt8sm0bzzsbmf6
2010-08-04 20:59:19 +02:00