Commit Graph

76 Commits

Author SHA1 Message Date
Denis Ledoux 3b02e3d63d [FIX] sale*: company tax filtering
f26b94f had as goal to filter the taxes of the product
according to the company when the sale.order
was created/edited as SUPERUSER_ID
(Who ignores the record rules).

Unfortunetaly, to filter the taxes,
it used the company of the customer,
while it's actually the company of the order which
should be used.

Indeed, for instance,
partners can be shared among all companies.

It was way less simple to access the company
of the sale.order, this parameter being
not available in the on_change method signature.

This is the easiest way to solve this issue
without breaking the API / retro-compatibility.

opw-647819
2015-08-25 14:52:20 +02:00
Goffin Simon 0e446eb5a6 [FIX] sale_stock: 'uom' in context
Force the 'uom in the context to False on the field 'product_id' in the popup
form view "sale.order.form.sale.stock", to force the non-propagation of the
context. To avoid using the uos in function "_product_lst_price" when computing
the public price of a product.

opw:646880
2015-08-12 16:59:35 +02:00
Denis Ledoux 38124e7e31 [FIX] sale_stock: product_id_change_with_wh on sale order popup too
product_id_change_with_wh onchange was not anymore called when using the popup form in sale order line.

The behavior was different concerning the product onchange when being in the editable list or in the popup form
For instance, for make to stock products not having enough stock, the warning was displayed when being in editable list, but not in the popup form

This is a regression of rev. 86f785ae1b

opw-619624
2014-12-05 14:00:37 +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
Bhumi Patel c707c61f8d [FIX] sale_stock: packaging was given a product instead of a product template id, leading to possible crash or incoherent values. 2014-09-17 15:31:19 +02:00
Josse Colpaert 8b204e6751 [IMP] Make sure property_ids on sale order line are visible and able to work 2014-09-12 13:49:41 +02:00
Olivier Dony 79570179bf [MERGE] Forward-port saas-5 up to acbdac4 2014-08-14 14:56:57 +02:00
Olivier Dony acbdac4e9f [MERGE] Forward-port saas-4 up to 9a84d55 2014-08-14 14:54:37 +02:00
Olivier Dony 8b12d1c566 [MERGE] Forward-port of 7.0 up to 85d2b45 2014-08-14 04:11:33 +02:00
Olivier Dony 96c36e895c [I18N] Update all 7.0 translation templates with latest terms and annotations
Total new terms: 168
Total deleted terms: 95
Total identical terms: 16329
(Some modules skipped, typically all l10n_* modules)
2014-08-14 02:24:24 +02:00
Denis Ledoux 0c48520a8d [FIX] stock, sale_stock: product.packaging, product_id renamed to product_tmpl_id
Some domains have not been altered according to this rename
2014-08-04 18:12:29 +02:00
Lionel Sausin (Numérigraphe) 57ad75b08d [IMP] sale_stock Show the button 'view delivery order' as soon as a picking exists
The button should appear no matter the state of the sale order, to be consistent with the rest of the application.
This makes it much faster for the sales person to find out about orders in shipping exceptions or already processed.
Fixes #256
2014-07-22 17:46:46 +02:00
Quentin (OpenERP) e0b27b4ee8 [MERGE] merged trunk up to revision 9251
bzr revid: qdp-launchpad@openerp.com-20140326152751-b6bo0fawrzmd71f0
2014-03-26 16:27:51 +01:00
Denis Ledoux 6deae9e9ea [FIX] *: replace various widgets selection by option no_create, as the purpose of these widgets selection were to actually hide the create and edit and quick create
bzr revid: dle@openerp.com-20140306113021-r280g41vkdyf5ew8
2014-03-06 12:30:21 +01:00
Quentin (OpenERP) e36b32a661 [MERGE] merged with main trunk (revision 9186)
bzr revid: qdp-launchpad@openerp.com-20140228131516-ihigousbe5p1nt68
2014-02-28 14:15:16 +01:00
Denis Ledoux 0043f81e33 [MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 9824 revid:dle@openerp.com-20140210134603-ck0jr56xhl8xgzg2
bzr revid: dle@openerp.com-20140210141704-sjzjwhe7fh5gszxr
2014-02-10 15:17:04 +01:00
Denis Ledoux 6e3d193517 [FIX] sale, sale_stock: send by email button visible when sent, progress or manual
+ remove 'invoiced' from statusbar_visible, as there is no such state
+ proper inherit in sale_stock form view

bzr revid: dle@openerp.com-20140210134603-ck0jr56xhl8xgzg2
2014-02-10 14:46:03 +01:00
Quentin (OpenERP) 753f7541db [MERGE] main trunk
bzr revid: qdp-launchpad@openerp.com-20140203173000-mk092iw2wz3y0e3e
2014-02-03 18:30:00 +01:00
Denis Ledoux 1fb1a6f2af [MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 9789 revid:dle@openerp.com-20140124120102-we2yxio553ws2yz4
bzr revid: dle@openerp.com-20140120174449-tui0a24zgn9bien2
bzr revid: dle@openerp.com-20140121125538-ke7i6kaz486hwgl8
bzr revid: dle@openerp.com-20140122134115-0ogjemlqe327xoac
bzr revid: dle@openerp.com-20140123103655-mf2zslfbgue97ed2
bzr revid: dle@openerp.com-20140124121027-uk9zy4dx9tqlsblr
2014-01-24 13:10:27 +01:00
Denis Ledoux 27224c9b9e [FIX] sale, purchase, sale_stock: on orders lines, on product changed, change the uom (even if the uom is in the same category)
bzr revid: dle@openerp.com-20140123103505-7pm9526ot2f5u7wa
2014-01-23 11:35:05 +01:00
Quentin (OpenERP) cd543d96e0 [IMP] misc usability improvements
bzr revid: qdp-launchpad@openerp.com-20131108165217-wk9b079p7jladswm
2013-11-08 17:52:17 +01:00
Quentin (OpenERP) 7cf0f92277 [FIX] sale_stock: fixed inheritancy of product_id_change in order to be more modular with other modules
bzr revid: qdp-launchpad@openerp.com-20131023094025-rkcf0ccs8j95d4su
2013-10-23 11:40:25 +02:00
Quentin (OpenERP) fcbfec1519 [FIX] sale_stock, warning: fixed inheritancy of product_id_change in order to be more modular with other modules
bzr revid: qdp-launchpad@openerp.com-20131023085758-1kz7r8kepmuhthr3
2013-10-23 10:57:58 +02:00
Quentin (OpenERP) 52cfccf2ce [FIX] sale_stock: onchange_product_id parameters fixed in form view (warehouse_id wasn't passed)
bzr revid: qdp-launchpad@openerp.com-20131022120100-t4d0y7q80sjmafnw
2013-10-22 14:01:00 +02:00
Quentin (OpenERP) c3fd943ac4 [MERGE] merged with main feature branch
bzr revid: qdp-launchpad@openerp.com-20131016100318-52unjrqnn5xqo6eg
2013-10-16 12:03:18 +02:00
Quentin (OpenERP) d06b99370c [FIX] sale_stock: fix onchange product to raise a warning more precisely + fixed inheritancy of views that wasn't taken into account
bzr revid: qdp-launchpad@openerp.com-20131010081442-belp4gu1w75ml3fs
2013-10-10 10:14:42 +02:00
jke-openerp 65f5b2470a remove some reference
bzr revid: jke@openerp.com-20131008144245-qv90ikyzbwjkoa7z
2013-10-08 16:42:45 +02:00
jke-openerp d86e8623a3 merge sale stock loc
bzr revid: jke@openerp.com-20131008143231-6l30g8z2bju8z4cu
2013-10-08 16:32:31 +02:00
Cedric Snauwaert 8e6866efee [FIX]sale_stock: since field type has been removed, also remove it from view
bzr revid: csn@openerp.com-20130911081725-uz40vnmcbqd7jku7
2013-09-11 10:17:25 +02:00
Josse Colpaert d207edc369 [IMP] Move sale_stock_workflow towards sale_workflow and make sure project_mrp tests pass
bzr revid: jco@openerp.com-20130910154822-u2if98d4r32rtibi
2013-09-10 17:48:22 +02:00
Josse Colpaert c0e1ebb4ad [IMP] Remove many2manytags route in warehouse, change warehouse on sale
bzr revid: jco@openerp.com-20130905092430-bh515emzi25dj0th
2013-09-05 11:24:30 +02:00
Josse Colpaert 57c80c4bc1 [IMP] Adapt average yml and push flow yml, put stock.py from sale_stock in stock_account
bzr revid: jco@openerp.com-20130828153210-cn97txe5046vo4nk
2013-08-28 17:32:10 +02:00
Fabien Pinckaers ef4b7c69b2 [FIX] Creating invoices on picking seems to work
bzr revid: fp@openerp.com-20130804170255-8ll9udktbdfzhu6w
2013-08-04 19:02:55 +02:00
Fabien Pinckaers 934be97ff6 [FIX] invoice on shipping wizard, not finished yet
bzr revid: fp@openerp.com-20130804161035-ds2tsx9its11fusm
2013-08-04 18:10:35 +02:00
Fabien Pinckaers 16cb4f8b2a [IMP] cleaning in progress: invoice on picking
bzr revid: fp@openerp.com-20130804134014-0xrkwlzhd6zfd6em
2013-08-04 15:40:14 +02:00
Fabien Pinckaers 9eb29913fa [IMP] removed old concept: invoice_quantity
bzr revid: fp@openerp.com-20130803190359-e3xpl2yye2u15104
2013-08-03 21:03:59 +02:00
Cedric Snauwaert 30fb888bc1 [FIX]sale_stock: add field function (one2many) picking_ids on sale_order object
bzr revid: csn@openerp.com-20130711134044-8k9t0o5b93k6h736
2013-07-11 15:40:44 +02:00
Cedric Snauwaert 277531f21d [FIX]fix installation of several modules: purchase, sales, purchase_req, mrp, sale_stock
bzr revid: csn@openerp.com-20130709150027-wy8avglaosiktm5m
2013-07-09 17:00:27 +02:00
sgo@tinyerp.com b8a33bc393 [MERGE]sync with trunk
bzr revid: sgo@tinyerp.com-20130318071519-3pae2jh7nk2iaqpe
2013-03-18 12:45:19 +05:30
Olivier Dony 8453234ead [FIX] all: change confusing labels on Cancel buttons in form views
bzr revid: odo@openerp.com-20130304184431-1p8byycyl0nv26qx
2013-03-04 19:44:31 +01:00
Olivier Dony cd0714b78d [FIX] all: change confusing labels on Cancel buttons in form views
lp bug: https://launchpad.net/bugs/1103426 fixed

bzr revid: odo@openerp.com-20130225133804-k7012p8p81e6g8vg
2013-02-25 14:38:04 +01:00
Antony Lesuisse 7674c1f6d6 [IMP] res.partner different address types
When using the Settings->Configuration->Sales "Allow a different address for
delivery and invoicing". It's not clear how to setup the different addresses
with their type as the kanban view uses a simplified form view.

This commit add an action "Contact Details" that appears in the more menu when
the option is checked. That action shows the list of contacts with their types
and the full contact form.

bzr revid: al@openerp.com-20130223005635-r1t02nmpj7qmktf7
2013-02-23 01:56:35 +01:00
sgo@tinyerp.com d9c69282ac [IMP]move warehouse field near company
bzr revid: sgo@tinyerp.com-20130204123909-xobft27wsauqgp4u
2013-02-04 18:09:09 +05:30
sgo@tinyerp.com 6be21ac5d3 [IMP]add onchange of warehouse to change company related to warehouse and improve some code
bzr revid: sgo@tinyerp.com-20130131062613-tmlgvdrculc2udu1
2013-01-31 11:56:13 +05:30
sgo@tinyerp.com 5600ce8a34 [IMP]remove date related sale.shop and add warehouse_id as new field to handle location in sale order
bzr revid: sgo@tinyerp.com-20130122110857-61jsli1sywu3h5q0
2013-01-22 16:38:57 +05:30
vta vta@openerp.com c0b2adfb5f [FIX] Hide 'View Delivery Order' button to portal users.
bzr revid: vta@openerp.com-20121130124252-1hge2mo5sz33atlw
2012-11-30 13:42:52 +01:00
Vo Minh Thu abbe3ac1de [MERGE] removed a few warnings.
bzr revid: vmt@openerp.com-20121106150431-rem9us13kevan8y0
2012-11-06 16:04:31 +01:00
Quentin (OpenERP) 173c3e4756 [FIX] sale_stock: missing field in domain
bzr revid: qdp-launchpad@openerp.com-20121102124824-y6lvasxiemcu6vm5
2012-11-02 13:48:24 +01:00
Jigar Amin 40e2c69f66 [MERGE] Sync with trunk
bzr revid: jam@tinyerp.com-20121017043824-pcijflp073el02ih
2012-10-17 10:08:24 +05:30