Commit Graph

1169 Commits

Author SHA1 Message Date
Olivier Dony bec80227d9 [FIX] account_voucher, product, stock: use selection widgets for magic context fields, to pass IDs in the context instead of strings
Many2one fields resolve to strings when used
as `self` within the @context or @filter_domain
attributes of a search field, because they
must be able to support partial matches,
e.g. search for "Sto" to match "Stock".
In many case the code was not prepared to accept
string for the magic context values, so the
magic fields now caused crashes.

The widget="selection" attribute was dropped
during the search view cleanup for 7.0,
without noticing this unfortunate side-effect,
at revision:
  addons 7.0 revno 7142 revid:qdp-launchpad@openerp.com-20120731150358-jqd3eoz06imzlx01

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

bzr revid: odo@openerp.com-20131004105218-edvb5ewduqar3x88
2013-10-04 12:52:18 +02:00
Martin Trigaux 2d25026e3f [IMP] stock: improve performances of _product_reserve by reducing the number of locations that are checked (opw#590466)
bzr revid: mat@openerp.com-20130920112437-giswgxm7o6d17iaf
2013-09-20 13:24:37 +02:00
Martin Trigaux edf34053ad [FIX] stock: use user's language as default value to fetch product translation
bzr revid: mat@openerp.com-20130917074045-4o5t46t7fucqr354
2013-09-17 09:40:45 +02:00
Martin Trigaux 833bc853db [MERGE] [FIX] stock: Correctly pass referece for Chained Location (case: 593003)
bzr revid: mat@openerp.com-20130909153221-0o6nt9d9x0kfk7vt
2013-09-09 17:32:21 +02:00
Martin Trigaux 1ae3118c54 [FIX] stock: change wrong variable name
bzr revid: mat@openerp.com-20130909091837-jkzfijspdyw2g79y
2013-09-09 11:18:37 +02:00
Martin Trigaux f17ab8b43c [FIX] stock: overwrite message_{un,}subscribe on stock.picking.{in,out}
lp bug: https://launchpad.net/bugs/1197169 fixed

bzr revid: mat@openerp.com-20130909081952-t6x482m9f3vt6xmg
2013-09-09 10:19:52 +02:00
Martin Trigaux 33001ec5ff [FIX] stock: post messages on stock.pciking instead of stock.picking.in/out to be able to display messages on the form
This will only display newly posted messages, not already existing.
To do so apply the following SQL command:
UPDATE mail_message SET model = 'stock.picking' WHERE model = 'stock.picking.in' OR model = 'stock.picking.out';

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

bzr revid: mat@openerp.com-20130828151434-5nu7o0ybguh86w6f
2013-08-28 17:14:34 +02:00
Martin Trigaux 3d6dc36407 [MERGE] base mp, courtesy of Alexandre Fayolle (camptocamp)
lp bug: https://launchpad.net/bugs/1182111 fixed

bzr revid: mat@openerp.com-20130823095912-5kwshj6nkdzduejx
2013-08-23 11:59:12 +02:00
Martin Trigaux 38bf262119 [IMP] stock: more fault tolerant usage of xml id
bzr revid: mat@openerp.com-20130731092732-9fa0xb66mo7uakb4
2013-07-31 11:27:32 +02:00
Martin Trigaux 2f07aac8b2 [FIX] stock: remove warning popup on update product quantity wizard and correctly verify access rights on stock.location
lp bug: https://launchpad.net/bugs/1200194 fixed

bzr revid: mat@openerp.com-20130729135844-jtanbteqtg52ztnu
2013-07-29 15:58:44 +02:00
Martin Trigaux ecc9c506a5 [IMP] stock: don't raise error on default values if removed default stock locations data
lp bug: https://launchpad.net/bugs/1178876 fixed

bzr revid: mat@openerp.com-20130729121120-7xh05hcmo8iwbyfk
2013-07-29 14:11:20 +02:00
Martin Trigaux 10cda48728 [IMP] stock: don't raise error on default values if removed default stock locations data
bzr revid: mat@openerp.com-20130729102923-xx55fmomv72qbji6
2013-07-29 12:29:23 +02:00
RGA(OpenERP) 0ef9e37899 [FIX] Drag & Drop of incomming shipments in calendar view don't write max/min date
bzr revid: rgaopenerp-20130702114049-nap90vsqbjekuf8r
2013-07-02 17:10:49 +05:30
Somesh Khare (OpenERP) 636fc01ea1 [FIX] stock : decription field not translated according to the user language (Ref : Case 594181)
bzr revid: skh@openerp.com-20130626130820-dqlifitughjr7pcd
2013-06-26 18:38:20 +05:30
Martin Trigaux ed4123dfe8 [MERGE] stock: Chained location: cancelling receptions set chained moves as confirmed
bzr revid: mat@openerp.com-20130610130540-3aj3mamjp337k5yu
2013-06-10 15:05:40 +02:00
Christophe Matthieu 9966ba5608 [IMP] Improve typos in warning (Grammar mistake, Capitalize title, Typos)
bzr revid: chm@openerp.com-20130607155350-ouvs6d9ibkbz0qof
2013-06-07 17:53:50 +02:00
Martin Trigaux 6341ea655e [MERGE] [FIX] stock: decimal precision wrong when invoice a purchaseorder with invoicing Based on incoming shipments
bzr revid: mat@openerp.com-20130607122151-rnnguw3hlb31923p
2013-06-07 14:21:51 +02:00
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
Dhruti Shastri (OpenERP) 0426c3ee8c [stock] : Referece for Chained Location always set to False(case: 593003)
bzr revid: dhs@tinyerp.com-20130605051304-7jzwz8sfmzuo616k
2013-06-05 10:43:04 +05:30
Josse Colpaert 619bbffa5f [IMP] Change src dest main currency when creating accounting entries for stock
bzr revid: jco@openerp.com-20130530150441-fgr5aoi89v4gvra1
2013-05-30 17:04:41 +02:00
Martin Trigaux 1908d590be [IMP] sort stock picking by id, no percent label for tax amount
bzr revid: mat@openerp.com-20130528115811-klv4spx00srr4vqb
2013-05-28 13:58:11 +02:00
Alexandre Fayolle 1bf62e51a7 [TEST] [FIX] check_access_rules does not cope with a single id
bzr revid: alexandre.fayolle@camptocamp.com-20130523090123-e2o2fzekgy7zqtl8
2013-05-23 11:01:23 +02:00
alexandre.fayolle@camptocamp.com def3ef9003 [FIX] bad call to check_access_rules
bzr revid: alexandre.fayolle@camptocamp.com-20130523062022-u5bqrgpc3ctffhmi
2013-05-23 08:20:22 +02:00
alexandre.fayolle@camptocamp.com eeb9d91494 [FIX] bad call to check_access_rules
bzr revid: alexandre.fayolle@camptocamp.com-20130523061809-jf3qt56ruiwjnpg4
2013-05-23 08:18:09 +02:00
Alexandre Fayolle 1658325f39 [FIX] actually fix lp:118211 by adding an explicit call to check_access_rule
bzr revid: alexandre.fayolle@camptocamp.com-20130522151216-6cz0kb6abwwr5zsv
2013-05-22 17:12:16 +02:00
Alexandre Fayolle 46b8c95d99 [FIX] permission denied msgbox when creating stock.move in multicompany setting
lp bug: https://launchpad.net/bugs/1182111 fixed

bzr revid: alexandre.fayolle@camptocamp.com-20130521140631-k100itymc4qn0f2m
2013-05-21 16:06:31 +02:00
Cedric Snauwaert a4c6c62e75 [FIX]stock: remove message from chatter, useless since information appears with tracking state and change view
so that schedule date appears when product hasn't been received and date of reception appears when it has
been received

bzr revid: csn@openerp.com-20130514091914-rod821mkj7v4s97c
2013-05-14 11:19:14 +02:00
Cedric Snauwaert 55b4b2d1d0 [FIX]stock: add method that was added in server here to prevent user to have to update base do not forward in trunk
bzr revid: csn@openerp.com-20130513154546-v5zqi6723aeiymxl
2013-05-13 17:45:46 +02:00
Cedric Snauwaert e19d5e4685 [FIX]purchase/stock: when validating a PO, information on scheduled_date was not correct, should take
into account, schedule_date for each product instead of PO date.
Also add a message in chatter whenever we receive a product. Added a function in tools/misc/py for the
purpose of printing correct date in user timezone + timezone information.

bzr revid: csn@openerp.com-20130513145318-qterabm7vmjkezi4
2013-05-13 16:53:18 +02:00
Quentin (OpenERP) dc51b7a465 [FIX] stock: fixed stock valuation bookings made in multi currency
bzr revid: qdp-launchpad@openerp.com-20130425124933-s7a7724si9lenpsp
2013-04-25 14:49:33 +02:00
Olivier Dony 3b1c553cc8 [MERGE] OPW 590100: stock: fix stock.picking.in and stock.picking.out that did not apply stock.picking record rules in all cases
lp bug: https://launchpad.net/bugs/1104163 fixed

bzr revid: odo@openerp.com-20130405153021-t0svhrbryl8r0bin
2013-04-05 17:30:21 +02:00
Amit Dodiya ebbc6deb52 [FIX]stock: override search and read method in order to check access because for multi company a child user was also able to see the incoming shipment of parent company where it should not
bzr revid: ado@tinyerp.com-20130405111649-tzf9r2xrii8ktxdj
2013-04-05 16:46:49 +05:30
Rifakat d6a678c7d5 [FIX] stock: code optimization to restric checking product's availability in all the locations,
if there are thousands of locations to be checked then should only check goods in the location where this product is ever come or went

bzr revid: rha@tinyerp.com-20130404135446-ln4e3n7rdibajho3
2013-04-04 19:24:46 +05:30
Quentin (OpenERP) 314fb5de44 [REF] stock: code refactoring to follow PEP8 standards
bzr revid: qdp-launchpad@openerp.com-20130319125244-4n08ywb61cu6mg32
2013-03-19 13:52:44 +01:00
Quentin (OpenERP) 31d83649d2 [FIX] stock: if scrapping from a done stock move, use the destination location as the source for the scrapping move + [FIX] stock, mrp: restrict scrapping from virtual locations
bzr revid: qdp-launchpad@openerp.com-20130319125216-pdfo2i9jx5mcea2l
2013-03-19 13:52:16 +01:00
Quentin (OpenERP) c659912b1e [MERGE] fix of bad partner chosen for accounting entries when doing stock valuation (imply a small refactoring of the function that moves on the partner instead of being of the invoice)
bzr revid: qdp-launchpad@openerp.com-20130306150142-oyjyn3s7scfc31yw
2013-03-06 16:01:42 +01:00
Josse Colpaert 76ca410f82 [FIX] _find_partner refactoring for res_partner and using it in creation of stock account moves
bzr revid: jco@openerp.com-20130305162015-lndgz2f0z4xtd62z
2013-03-05 17:20:15 +01:00
Dhruti Shastri 86503f5812 [stock] : Chained location: cancelling receptions doesn't cancel all stock moves
bzr revid: dhs@tinyerp.com-20130206104915-f54l890d06xxq9ks
2013-02-06 16:19:15 +05:30
Dhruti Shastri 1609f18060 [FIX][stock] : decimal precision wrong when invoice a purchaseorder with invoicing Based on incoming shipments
lp bug: https://launchpad.net/bugs/1105075 fixed

bzr revid: dhs@tinyerp.com-20130201132648-znpkyatl037st2y7
2013-02-01 18:56:48 +05:30
Mohammed Shekha 25f1f3a013 [FIX]Fixed two usability issue, regarding tax label and order of stock.picking.
bzr revid: msh@openerp.com-20130116105505-lovjzq5z5uisxz2v
2013-01-16 16:25:05 +05:30
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
Thibault Delavallée e3c31cab9e [IMP] track_visibility atribute: moved onto explicit strings.
bzr revid: tde@openerp.com-20121220114730-nip8qaaajr5mqw6s
2012-12-20 12:47:30 +01:00
Thibault Delavallée 57c7839078 [CLEAN] stock: removed dead log_picking method, that is not working (not logging, and not called) since the beginning of OpenChatter and that no-one did seem to miss. Also cleaned some chatter messages, removing unnecessary calls.
bzr revid: tde@openerp.com-20121219205513-h7geda6mgcux8hpb
2012-12-19 21:55:13 +01:00
Thibault Delavallée cd290565a4 [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20121219093924-5rqmhb6ve7bv7qzl
2012-12-19 10:39:24 +01:00
Olivier Dony 03b6acd13d [MERGE] Access inherited product fields on the product directly rather than template, courtesy of Alexis de Lattre (Akretion)
It makes the code a little more straightforward and does not hurt.

bzr revid: odo@openerp.com-20121218225015-6r9ydxjlh147m3z1
2012-12-18 23:50:15 +01:00
Fabien Pinckaers 41f7f27881 [IMP] several subtype fixes
bzr revid: fp@tinyerp.com-20121218220617-d6ebdlkf1facw4x8
2012-12-18 23:06:17 +01: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
Olivier Dony 411d6d931d [FIX] sale,purchase: allow SO/PO long description to propagate to procurement.order and stock.move, remove size limits
bzr revid: odo@openerp.com-20121217222827-ga62qttp4wxzu7rv
2012-12-17 23:28:27 +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
Cecile Tonglet 15fe515601 [MERGE] From trunk
bzr revid: cto@openerp.com-20121217144306-tkodwpox30cuvb28
2012-12-17 15:43:06 +01:00