Commit Graph

72 Commits

Author SHA1 Message Date
Denis Ledoux 19ce5932e2 [FIX] warning: stock picking warnings
Warnings on pickings no longer worked, while it was possible
to set them in the partner form.

The problem comes from the fact onchange_partner_in no longer exists
on the picking form, by default. It was therefore never called,
on the warning never displayed.

opw-628956
2015-03-02 12:11:29 +01:00
Denis Ledoux 31527c9a36 [MERGE] forward port of branch saas-3 up to 4c7e078 2015-02-17 11:10:10 +01:00
Denis Ledoux 550910a8f6 [MERGE] forward port of branch 7.0 up to a87d60f 2015-02-16 18:26:45 +01:00
Denis Ledoux a87d60f70f [FIX] warning: no notes parameter in onchange_product_id
This is related to rev. 4606b4535a
2015-02-16 15:07:21 +01:00
Denis Ledoux 4606b4535a [FIX] warning: onchange_product method signature
Module 'Warning' overwrites onchange_product_id method of purchase.order.line

The signature in the warning module had 'notes', while there isn't any 'notes'
parameter in the original method, in the purchase module.

The super call was also wrong, ignoring the optional fields, which
were therefore always set to the default value
2015-02-16 15:01:12 +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
Wolfgang Taferner 1e5c68f7a6 [FIX] warning: domain was lost in onchange result
Closes #3127
2015-01-08 17:48:01 +01:00
Raphaël Valyi d78192c489 [IMP] account: add context in invoice onchange_partner_id method
(Manual rebase of PR #915)
2014-07-05 02:47:28 +02:00
Raphaël Valyi 7cc95f1671 [IMP] purchase: add context in PO onchange_partner_id and onchange_dest_address_id
(Manual rebase of PR #913)
2014-07-05 02:30:44 +02:00
Christophe Matthieu 43977deb71 [IMP] product: refactoring of product variant. The main view became the view of product template and the product product (or product variant) are created with the variant values combinaison. Bom is splitted into bom and bom line and can use the variant combinaison. 2014-05-27 09:42:52 +02:00
Quentin (OpenERP) 70eb74a260 [MERGE] merged with trunk up to revision 9425. Needs to find another icon for Traceability on lot, though
bzr revid: qdp-launchpad@openerp.com-20140507182917-erjammra4okyei1c
2014-05-07 20:29:17 +02:00
Christophe Simonis 1953aa442f [MERGE] forward port of branch 7.0 up to revid 10037 mat@openerp.com-20140507133552-v4qsdp7qdp9iwewi
bzr revid: chs@openerp.com-20140507153348-g2qw61dkxvps13br
2014-05-07 17:33:48 +02:00
Martin Trigaux 95ba80f174 [FIX] warning: make blocking warning actually doing something (opw 607380)
Instead of raising an exception (which only interupt the call of the onchange methods), return a dictionnary to set the forbidden partner or product to an empty value.
The call is not blocking in a way it forbid to create a record that uses this partner/product but it make it not possible to select it through the web interface.

bzr revid: mat@openerp.com-20140507102550-sms5nbf0u7pdkci9
2014-05-07 12:25:50 +02:00
Quentin (OpenERP) df2d5e148e [MERGE] trunk
bzr revid: qdp-launchpad@openerp.com-20131129165644-fx0m3ok07l41o507
2013-11-29 17:56:44 +01:00
Christophe Simonis 0244543c71 [MERGE] forward port of branch 7.0 up to revid 9636 mat@openerp.com-20131122165504-tmbg0ixhqed4kdkz
bzr revid: chs@openerp.com-20131122193122-wpdfsfn24ezj1qrp
2013-11-22 20:31:22 +01: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) 533d176df7 [FIX] warning: fixed dependancies and product_id_change() method
bzr revid: qdp-launchpad@openerp.com-20131022152958-2w7xpn0fox88m5w2
2013-10-22 17:29:58 +02:00
Quentin (OpenERP) 3465286e94 [FIX] warning: onchange_product_id() signature
bzr revid: qdp-launchpad@openerp.com-20130917080515-6eq94p63eisw7klk
2013-09-17 10:05:15 +02:00
Quentin (OpenERP) 2ad5cd9955 [FIX] warning: signature of onchange_product_id() of purchase.order.line
bzr revid: qdp-launchpad@openerp.com-20130917071248-iq8igi4zxz7zwa4x
2013-09-17 09:12:48 +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
Ravi Gohil (OpenERP) b49fe3aa34 [FIX] warning: Impossible to set UoM if product is not selected in purchase order line. (Maintenance Case: 593702)
bzr revid: rgo@tinyerp.com-20130612112146-fvu2jeyvkfqp56gj
2013-06-12 16:51:46 +05:30
Christophe Matthieu 9d9e3d2ef8 [IMP] Improve typos in warning (Grammar mistake, Capitalize title, Typos)
bzr revid: chm@openerp.com-20130607113829-1mi6jk18c2v3jjhn
2013-06-07 13:38:29 +02:00
ggh-openerp 3b73e2b2a4 [IMP]Removed space before Exclamation marks [!]
bzr revid: ggh@tinyerp.com-20130429071557-vnxo5nni03vc886j
2013-04-29 12:45:57 +05:30
Vo Minh Thu e69326ee3b [REF] removed explicit model instanciations.
bzr revid: vmt@openerp.com-20130415102349-vgcrfok2k5y10cwz
2013-04-15 12:23:49 +02:00
Olivier Dony 49597f0e66 [MERGE] *: improved english wording, suggestions courtesy of OpenERP Community
bzr revid: odo@openerp.com-20121221164808-kdjrtcbgma4dr3on
2012-12-21 17:48:08 +01:00
Cecile Tonglet 15fe515601 [MERGE] From trunk
bzr revid: cto@openerp.com-20121217144306-tkodwpox30cuvb28
2012-12-17 15:43:06 +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
Jean-Christophe VASSORT 387132bc14 [FIX]warning: In warning module onchange_partner_id has some re assignation of values
bzr revid: mma@tinyerp.com-20121128065318-wzo9rj4dh902bbom
2012-11-28 12:23:18 +05:30
Amit Dodiya (OpenERP) e9cb8f9a6f [FIX]warning: In warning module onchange_partner_id has some re assignation of values
lp bug: https://launchpad.net/bugs/920530 fixed

bzr revid: mma@tinyerp.com-20121128061754-bkccr0wdts8jygr0
2012-11-28 11:47:54 +05:30
Fabien Pinckaers b9535b0f27 [IMP] Misc useability improvement in account
[MERGE] warehouse misc imp, receptions
[IMP] fixes in po

bzr revid: fp@tinyerp.com-20121126182811-kgqve7pzzqddx86g
2012-11-26 19:28:11 +01:00
Quentin (OpenERP) 846b6a0477 [FIX] delivery, warning, point_of_sale: onchange_partner_id now takes context as argument
bzr revid: qdp-launchpad@openerp.com-20121126142142-1i7tm04z85aeozqk
2012-11-26 15:21:42 +01:00
Turkesh Patel (Open ERP) d3de140d40 [FIX] On changing customer/supplier/partner in delivery orders/incoming shipments/internal moves respectively,gives traceback.
bzr revid: tpa@tinyerp.com-20121106093133-aenwqy71020gtydc
2012-11-06 15:01:33 +05:30
Fabien Pinckaers 80d3014fe0 [MERGE] misc fixes, addons10
bzr revid: fp@tinyerp.com-20120926070743-wx6359lr50focv15
2012-09-26 09:07:43 +02:00
Mayur Maheshwari (OpenERP) 4715e84fc3 [IMP]warning : fix the issue of product on change and add a warning for picking.in and picking.out method
bzr revid: mma@tinyerp.com-20120918122236-ii8umd942sp3b1o5
2012-09-18 17:52:36 +05:30
Quentin (OpenERP) ffd0c86ec2 [FIX] a lot of fixes in several modules, as the result of the code review of the merge of the objects res.partner and res.partner.address
bzr revid: qdp-launchpad@openerp.com-20120330090837-s87z2qzsvynhlbwr
2012-03-30 11:08:37 +02:00
Sbh (Open ERP) 3e3219f033 [Fix] stock_planing:remove for address field
bzr revid: kjo@tinyerp.com-20120321123100-rgvojy4fz69rkhq6
2012-03-21 18:01:00 +05:30
Jigar Amin - OpenERP 9d1674317e [FIX] warning removed messages partner_address fix for stock.picking
bzr revid: jam@tinyerp.com-20120307121708-gv4042pn3g3phmv7
2012-03-07 17:47:08 +05:30
Jigar Amin - OpenERP 613e65ebce [FIX] warning rmeoved address field warning messages
bzr revid: jam@tinyerp.com-20120307105852-m4yjnrp2r147t2ho
2012-03-07 16:28:52 +05:30
Ujjvala Collins (OpenERP) 815b7c6d6f [MERGE]: Merged with trunk-addons.
bzr revid: uco@tinyerp.com-20111018101722-5rn6kl03rnfk1vb3
2011-10-18 15:47:22 +05:30
Kirti Savalia (OpenERP) ecab5ad286 [FIX]:pass the missing context in product_id_change method
lp bug: https://launchpad.net/bugs/872689 fixed

bzr revid: ksa@tinyerp.com-20111012073412-h7k3tr07bcy2vpup
2011-10-12 13:04:12 +05:30
Ujjvala Collins (OpenERP) e84d292ceb [IMP] sale: Improved code by adding context argument wherever required.
* product_visible_discount, warning: Added remaining context argument on product_id_change method.

bzr revid: uco@tinyerp.com-20110718095344-tdlsys7uueqp9kdy
2011-07-18 15:23:44 +05:30
P. Christeas aaeb24b541 warning: set message-selectors as required, to force 'no-message' [Bug 720247]
Reported by: Ferdinand Gassauer <ferdinand.gassauer@camptocamp.com>
Original Subject: [6.0] - warning - must init fields
(cherry picked from commit 0ff9e4e58e3e46fc5097ad5fd36e7b69cce37cda)

bzr revid: p_christ@hol.gr-20110224163500-6x9pbgfvwaton17j
2011-02-24 18:35:00 +02:00
Thibault Francois 194ead1ccd [FIX] warning.py : fix bug 11 arg needed 15 given
bzr revid: tfr@openerp.com-20101028134558-neiqqv7qjk9ahpvc
2010-10-28 15:45:58 +02:00
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
Mustufa Rangwala c578d8d0aa [FIX] Account: partner_bank_id on invoice
bzr revid: mra@mra-laptop-20100720042034-67pw48arsgq26k4g
2010-07-20 09:50:34 +05:30
Anup (OpenERP) 5af7c635b6 [FIX] Removed Unnecessary Print Statements.
bzr revid: ach@tinyerp.com-20100517133431-66dx0r9rwc0ckytg
2010-05-17 19:04:31 +05:30
gpa 9815e303b6 [FIX] Invoice object's Partner onchange had wrong parameter
bzr revid: gpa@tinyerp.com-20100512113324-msr1oi3kw34x29rb
2010-05-12 17:03:24 +05:30
Stephane Wirtel fb3ef7a2f4 [FIX] Change the year of the copyright
bzr revid: stephane@openerp.com-20100112091839-a6p7tenhb4e4zxyx
2010-01-12 10:18:39 +01:00
Harry (Open ERP) 4d6d553d17 [MERGE] merge from lp:~openerp/openobject-addons/5.0/
bzr revid: hmo@tinyerp.com-20091128110526-yen7frgcg9nkbn7h
2009-11-28 16:35:26 +05:30