Commit Graph

84 Commits

Author SHA1 Message Date
Danimar Ribeiro 1ac94db8e8 [FIX] context to map_tax
Missing context to map_tax calls
Fixes #9909
2015-12-15 16:10:16 +01:00
Goffin Simon 28463d0310 [FIX] delivery, stock_account: invoice on delivery with fiscal position
When creating an invoice on delivery, the right 'account_id' was not
set on the invoice line according to the fiscal position.

opw:657542
2015-11-30 09:46:38 +01:00
Nicolas Martinelli f0cfc7c01e [FIX] delivery: price_unit converted in the invoice currency
When the invoice is created from the picking, the delivery charges needs to be
converted into the invoice currency. Indeed, there is no currency on a delivery
pricelist.

opw-646148
2015-08-03 08:16:31 +02:00
Christophe Simonis 8ac8281a7f [MERGE] forward port of branch saas-3 up to d3e7a8e 2015-04-10 18:35:34 +02:00
Christophe Simonis d3e7a8ef5e [MERGE] forward port of branch 7.0 up to 856bc6f 2015-04-10 18:24:46 +02:00
Rucha Dave 2a3ce719bc [FIX] delivery: do not use canceled lines in weight computation
Canceling a line on a delivery order was not updating the weight of the package.
opw 618532
2015-04-09 14:45:38 +02:00
Denis Ledoux 4ad329de55 [FIX] delivery: shipping invoice line depending on amount total
The delivery module overrode the method _create_invoice_from_picking
to add the shipping costs according to the invoice and the shipping.

The issue is that the method _create_invoice_from_picking creates an empty
invoice, without any line. The lines are added afterwards, using the method
_create_invoice_line_from_vals, within the method _invoice_create_line.
So, after having called _create_invoice_from_picking, the invoice is indeed
created, but without lines, and therefore without the amount total value.
Adding the shipping costs there will thus prevent the shipping costs
based on the total price of the invoice (e.g. free for an order of 500€)

This rev. overrides the method _invoice_create_line instead, as, after
the call to this method, the invoice will be completely set, with all
its lines, and with a correct amount total. The side effect
is that we need to recompute the taxes a second time, using button_compute.

This is not the cleanest way to solve this issue. Indeed, a cleaner patch
would be to change the method _create_invoice_from_picking so it creates
the invoice along with its invoice lines, using the ORM command
(0, _, values) to creates the lines directly within the invoice creation:
invoice['invoice_line'] = [(0, _, values) for values in invoice_lines_vals].

Nevertheless, this is a bigger change, that will probably require API changes,
and therefore should be done in master.

opw-626226
opw-628517
2015-02-20 12:44:11 +01:00
Denis Ledoux 87dd06c941 [MERGE] forward port of branch saas-3 up to 8c150c6 2015-01-15 14:43:32 +01:00
Denis Ledoux a692c6e934 [MERGE] forward port of branch 7.0 up to f406847 2015-01-15 11:49:28 +01:00
Martin Trigaux f406847613 [FIX] delivery: reset delivery info on duplicate/backorder
The tracking reference and other delivery references are not relevant to
duplicated pickings. Overwrite copy to remove carrier_tracking_ref, volume and
number_of_packages.

Add fallback on stock.picking.in and out to use copy method of stock.picking.

For partial delivery, the duplicated picking is the delivered order and
the existing picking is the backorder of the delivery (why so much hate?).
This means we have to switch the delivery info between the backorder and
the delivered picking.
Combo opw 615593 and 618802
2015-01-14 17:44:37 +01:00
Josse Colpaert 518b2f6a3f [FIX] super of scheduler / delivery method and phantom boms / average price
[FIX] super of scheduler should have same params + use_new_cursor should be passed to procure orderpoint confirm

[IMP] Make sure the delivery works when doing phantom boms

[FIX] This should update the average price properly when having multiple moves with the same product

[FIX] Average price should take into account the quantities of all variants

[FIX] Make sure purchase picking type in other company works

[IMP] Views of quants and destination locations of moves
2014-11-13 11:50:01 +01:00
Josse Colpaert 6b9668520c [FIX] Method should pass the correct objects for adding the line for the delivery method when invoicing based on shipments 2014-11-13 11:50:01 +01:00
Josse Colpaert 86f785ae1b [FIX] #3153 Digits in wizard should be those of moves,... / Recreate delivery order from sale / Delivery method on delivery order
[IMP] Provide better purchase order picking type

[IMP] Possibly a better product uos handling in the sale order line

[FIX] Recreate of delivery order when sales order in shipping exception

[FIX] Delivery method should be passed to delivery order
2014-11-13 11:50:01 +01:00
Josse Colpaert ac2d50d27a [IMP] Assign all destination moves at once, add packaging 2014-09-22 11:29:39 +02:00
Josse Colpaert 636294e1ef [IMP] Scheduled time, weights, remove routing on lines 2014-09-17 21:41:41 +02:00
Christophe Simonis 8046b7367d [MERGE] forward port of branch saas-5 up to 7e117b1 2014-08-28 16:51:11 +02:00
Max Mumford d662aeaa27 [FIX] stock: missing quantity parameter from get_price_from_picking 2014-08-27 17:13:14 +02:00
Jaydeep Barot 026e38b48f [REM] Unnecessary `size` parameters on char fields 2014-06-25 17:13:43 +02:00
Olivier Dony 9f0ecb3572 [MERGE] Forward-port of 7.0 bugfixes up to 4d3a5df 2014-06-12 13:49:32 +02:00
Alexandre Fayolle ac117ac220 [FIX] delivery: propagate additional fields in chained pickings
closes #367
2014-06-06 14:18:37 +02:00
Olivier Dony 083108a624 [IMP] delivery,stock,mrp: minor cleanup/spellchecking/nit-picking while reviewing
bzr revid: odo@openerp.com-20140507165951-th4iqsrp6l67dvve
2014-05-07 18:59:51 +02:00
Quentin (OpenERP) df2d5e148e [MERGE] trunk
bzr revid: qdp-launchpad@openerp.com-20131129165644-fx0m3ok07l41o507
2013-11-29 17:56:44 +01:00
Olivier Dony 44664076da [MERGE] Forward-port of latest 7.0 fixes up to rev 9618 rev-id: dle@openerp.com-20131120142131-s333lyva85cyn41o
bzr revid: odo@openerp.com-20131120144059-yyh7emvgdarff09b
bzr revid: odo@openerp.com-20131120144318-11nmn1zj00zmi10z
2013-11-20 15:43:18 +01:00
Olivier Dony c79b600b1d [FIX] delivery: the stock.picking.{in,out} workaround was only partial
Due to a framework limitation the virtual stock.picking.in
and stock.picking.out models need to duplicate the extra
columns added to the stock.picking master model.
This was only partially done, leading to errors in
some cases when stock.picking.{in,out} were directly
used by business methods.

bzr revid: odo@openerp.com-20131119181855-cciozs8fv3ll9bd8
2013-11-19 19:18:55 +01:00
Quentin (OpenERP) 15dd2573d5 [FIX] better split of onshipping invoice (some code needed to be moved in sale_stock\!) + misc fixes in delivery (yaml test fixed as well)
bzr revid: qdp-launchpad@openerp.com-20130909142350-axvodv298wnmm7ox
2013-09-09 16:23:50 +02:00
Pooja Zankhariya (OpenERP) 4899e29bd2 [IMP]Improved Code
bzr revid: pza@tinyerp.com-20130906101728-wr9oi2wv54jhgzux
2013-09-06 15:47:28 +05:30
Cedric Snauwaert 6b68b2e704 [FIX]action_invoice_create return a list and not a dict + fix dependencies for delivery
bzr revid: csn@openerp.com-20130905153317-tledb2ht933pwt28
2013-09-05 17:33:17 +02:00
Josse Colpaert c932b34e11 [WIP] Remove stock_journal, change name and origin of created procurement, remove some remaining picking in/out, add sequence on dropship
bzr revid: jco@openerp.com-20130725144335-l48yws3wbqxmstxc
2013-07-25 16:43:35 +02: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
Raphael Collet 73980eba5f [MERGE] trunk-import-openerp-thu (use strict naming convention when importing openerp stuff)
bzr revid: rco@openerp.com-20121218085914-qzr2upqfxmfbzfsx
2012-12-18 09:59:14 +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
dle@openerp.com 9c977cbff1 [FIX]default weight uom measure was set to kgs all the time. Now depends of the configuration of uom (to handle uom of different countries
bzr revid: dle@openerp.com-20121214151108-38sjk0r506j2sdh0
2012-12-14 16:11:08 +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) 3084aa07c6 [IMP] improve default
bzr revid: nco@tinyerp.com-20121206133723-tz1kd5jwh2thc83k
2012-12-06 19:07:23 +05:30
Nimesh (Open ERP) 621dd7ba64 [REMOVE] remove weight net uom and improve order sequence for stock.move.
bzr revid: nco@tinyerp.com-20121206101445-zntwb2tk3kl40rs4
2012-12-06 15:44:45 +05:30
pankita shah (Open ERP) b90834e0e7 [IMP] add kg in to net weight improve pickaging field
bzr revid: shp@tinyerp.com-20121205095533-8a41to3zm6p8830q
2012-12-05 15:25:33 +05:30
pankita shah (Open ERP) 016aa2cc07 [IMP] field name of height_uom_id,weight_uom_id,height_uom_id,product_uom_weight1,product_uom_weight2 and add kg in weight,net weight
bzr revid: shp@tinyerp.com-20121204105829-g3z94mu5cr8fqr3v
2012-12-04 16:28:29 +05:30
pankita shah (Open ERP) 883a056a8e [IMP] help of unit of meausure
bzr revid: shp@tinyerp.com-20121126062717-197cypp9h9x1ec23
2012-11-26 11:57:17 +05:30
pankita shah (Open ERP) 991f538fb1 [IMP] cm,kg with height,length,widthand wigth
bzr revid: shp@tinyerp.com-20121122090731-ozrp4wudie5e2row
2012-11-22 14:37:31 +05:30
Saurang Suthar 50fa72389b [IMP]delivery:set kg as UoM with weight field in Internal Moves
bzr revid: ssu@tinyerp.com-20121112133321-qkksfl7lg7423d1j
2012-11-12 19:03:21 +05:30
Amit Patel (OpenERP) 0e116ffb56 [IMP]:delivery:indentation
bzr revid: apa@tinyerp.com-20120822113336-d9wl1lhdi25n7jvg
2012-08-22 17:03:36 +05:30
Amit Patel (OpenERP) f3dbc30105 [MERGE]:merged with trunk
bzr revid: apa@tinyerp.com-20120822102932-43p759jle2cb1ryy
2012-08-22 15:59:32 +05:30
Antonin Bourguignon 59aa37f0e4 [IMP] all the warning messages now start with 'Warning\!' (not 'Warning' or 'Warning \!')
bzr revid: abo@openerp.com-20120807113414-7mryqyt3jnq8shsa
2012-08-07 13:34:14 +02:00
Foram Katharotiya (OpenERP) 3d71723ada [FIX]Add weight,weight_net on stock.picking.in(incoming shipment) and stock.picking.out (delivery order) In Delivery module
lp bug: https://launchpad.net/bugs/1016378 fixed

bzr revid: fka@tinyerp.com-20120702094147-qnrbc84k7fdfycrk
2012-07-02 15:11:47 +05:30
Quentin (OpenERP) ee2f43de99 [FIX] delivery: fixed unknown fields in stock.picking.out model
bzr revid: qdp-launchpad@openerp.com-20120514114948-gfxxgxeh17jejvff
2012-05-14 13:49:48 +02:00
Quentin (OpenERP) 4750ee9580 [FIX] delivery: fixed unknown fields in stock;picking.out model
bzr revid: qdp-launchpad@openerp.com-20120514094354-6yg6fduinopgnk0d
2012-05-14 11:43:54 +02:00
Sbh (Openerp) d494230c87 [IMP] : rename address_id with parnter_id
bzr revid: sbh@tinyerp.com-20120330081136-gyllf3gx180clebd
2012-03-30 13:41:36 +05:30
Sbh (Openerp) 09483d7449 [Fix] auction,delivery remove ref of .address
bzr revid: sbh@tinyerp.com-20120322104124-ferh00aj1gpqowlf
2012-03-22 16:11:24 +05:30
Olivier Dony f8e1ddfbc1 [IMP] delivery: refactor shipping cost invoicing to be more modular
This will make modular extensions easier and
cleaner to implement.

bzr revid: odo@openerp.com-20111221181149-a4xus72g3h4x3lko
2011-12-21 19:11:49 +01:00
Ujjvala Collins (OpenERP) 486a4fc319 [IMP] delivery: Small improvement.
bzr revid: uco@tinyerp.com-20111005111856-9fet9nj13t7zikcs
2011-10-05 16:48:56 +05:30