Commit Graph

607 Commits

Author SHA1 Message Date
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 83677ed6e6 [REVERT] 9401 dle@openerp.com-20130830125155-1vedifnupu2xvth7
This had as side-effect to not allow splitting BOMs
(a manufacturing order for 1 unit of a BOM producing 10 units consumed the lines like it was 10 units, not 1)

This fix was to avoid having a fraction of a unit (for instance, 0.5 unit).

But, finally, it is preferable to allow splitting units:
1. Most users do not use several uoms, and in this case, the unit is the default uom (hidden).
2. At the moment, it is allowed to ask a manufacturing order splitting up the unit uom
(It is allowed to ask the production of 0.5 USB Adapter, for instance)
Thus, we should allow the splitting up of the unit uom in the lines too.

bzr revid: dle@openerp.com-20140124120102-we2yxio553ws2yz4
2014-01-24 13:01:02 +01:00
Denis Ledoux d69ecb8d8f [FIX] mrp, stock: avoid float rounding errors using float_compare
bzr revid: dle@openerp.com-20140122133822-fkt5gqanpptlx9jx
2014-01-22 14:38:22 +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
Martin Trigaux a8f47d3747 [MERGE] [FIX] mrp: correctly handle internal type for stock.picking on manufacturing order
lp bug: https://launchpad.net/bugs/1117229 fixed

bzr revid: mat@openerp.com-20131119162522-x4fw8hluvfzt27ha
2013-11-19 17:25:22 +01:00
Olivier Dony 5cba82e2c9 [MERGE] Forward-port of latest saas-1 bugfixes, up to rev. 8788 dle@openerp.com-20131003094541-ro29hhkas03rdvw8
bzr revid: odo@openerp.com-20131003111222-upt1ytb92db50zay
2013-10-03 13:12:22 +02:00
Denis Ledoux a9158e5993 [MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 9487 rev-id: dle@openerp.com-20130930141202-ghnujem348kydd2m
bzr revid: dle@openerp.com-20130930150804-b4j080uy06t4n7f1
2013-09-30 17:08:04 +02:00
Rifakat e2e20bae4c [FIX] mrp: improved fix, used DEFAULT_SERVER_DATETIME_FORMAT for date, removed extra AND and _order from search()
bzr revid: rha@tinyerp.com-20130924062648-qshruwnukmtn0b7w
2013-09-24 11:56:48 +05:30
Denis Ledoux db84e912bd [MERGE] Forward-port of latest saas-1 bugfixes, up to rev. 8781 rev-id: dle@openerp.com-20130923165651-0jt823r5wy37enw6
bzr revid: dle@openerp.com-20130923171310-mav1riq3d2rebmv2
2013-09-23 19:13:10 +02:00
Denis Ledoux 546a191f0a [MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 9459 rev-id: fva@openerp.com-20130918153347-fy4nuvbm82ngfb8x
bzr revid: mat@openerp.com-20130826135110-f9q4p65ds2aholcw
bzr revid: dle@openerp.com-20130828141129-ecxl2vlpb8vw0o9f
bzr revid: dle@openerp.com-20130828162659-n8a0ku9o3h01qaov
bzr revid: dle@openerp.com-20130830094205-q3itwd7x0246d9n6
bzr revid: dle@openerp.com-20130830133604-mfnfbscn5wdk4vi4
bzr revid: dle@openerp.com-20130902131244-v9uh0s8rg4889i7j
bzr revid: mat@openerp.com-20130903134105-68ziuaccreu6rs61
bzr revid: chs@openerp.com-20130906171851-jtfsf4au1k30wwlr
bzr revid: dle@openerp.com-20130909103120-k5oefxgebhyslac3
bzr revid: dle@openerp.com-20130909170047-pbzw4ernvcpivbhh
bzr revid: chs@openerp.com-20130910122113-171osvcukxffxcry
bzr revid: tde@openerp.com-20130912121059-k840pi4rwdzpez8g
bzr revid: dle@openerp.com-20130913085251-p906ci2divy82jur
bzr revid: tde@openerp.com-20130913092546-kzshg1a7sls566l8
bzr revid: mat@openerp.com-20130917122102-drf8fj9lrjj0fvju
bzr revid: mat@openerp.com-20130917161614-w8u2c1ayeb5kxm30
bzr revid: dle@openerp.com-20130918161305-7ep1642nxzyy3vhd
2013-09-18 18:13:05 +02:00
Martin Trigaux 461b5d8191 [MERGE] [FIX] mrp_subproduct: correctly take into account subproduct_factor when checking quantities on BoM
bzr revid: mat@openerp.com-20130916123442-cch34mghmwh1p18e
2013-09-16 14:34:42 +02:00
Martin Trigaux 3029fc869e [MERGE] [FIX] mrp: producing a BoM of type service is no longer blocked in ready state, correctly transmit project reference when create task from sale order
bzr revid: mat@openerp.com-20130916113323-8an09x0d7svv2j7d
2013-09-16 13:33:23 +02:00
Martin Trigaux 503f69cba3 [IMP] project_mrp: cleaning and add condition for triggering signal
bzr revid: mat@openerp.com-20130916100120-kuuyofh3o8e3iv8c
2013-09-16 12:01:20 +02:00
Martin Trigaux 7485ec46d7 [IMP] mrp: trigger workflow only if no move lines
bzr revid: mat@openerp.com-20130916094604-zonoyxeic948mjn2
2013-09-16 11:46:04 +02:00
Paramjit Singh Sahota 2b65bbfa82 [IMP] Improved code to return product_lines.
bzr revid: psa@tinyerp.com-20130912135445-xf0rmbh117fznd5v
2013-09-12 19:24:45 +05:30
Paramjit Singh Sahota 8825f2070b [IMP] Improved method name and code accordingly.
bzr revid: psa@tinyerp.com-20130912131434-99xv1prw3o4dy9ge
2013-09-12 18:44:34 +05:30
Paramjit Singh Sahota 387bffe50e [IMP] Divided the action_compute method and improved code according to that.
bzr revid: psa@tinyerp.com-20130912115556-9c67dzpr6mao251w
2013-09-12 17:25:56 +05:30
Paramjit Singh Sahota 000ca6103d [IMP] Added another testcase for 2 service type product
And improved code for bom product with service type product used in SO doesnt link the project perfectly.

bzr revid: psa@tinyerp.com-20130912110454-x9tidij14xj09joz
2013-09-12 16:34:54 +05:30
Paramjit Singh Sahota a0cb8675df [IMP] Improved code
bzr revid: psa@tinyerp.com-20130911145615-wzy1kmajr7j1731y
2013-09-11 20:26:15 +05:30
Paramjit Singh Sahota a3482a990f [IMP] Improved code for the BOM with service type product.
bzr revid: psa@tinyerp.com-20130911141123-snw3u5mgtf4xv3k6
2013-09-11 19:41:23 +05:30
Paramjit Singh Sahota f716d9bf9c [REM] Removed the unwanted code.
bzr revid: psa@tinyerp.com-20130911123044-xgw123lfj62cx71x
2013-09-11 18:00:44 +05:30
Martin Trigaux c48504fdba [MERGE] sync with trunk (state -> stage removed some test)
bzr revid: mat@openerp.com-20130911110755-zf3ytf9m27im6x9k
2013-09-11 13:07:55 +02:00
Christophe Simonis 3fa90321e1 [MERGE] forward port of branch saas-1 up to revid 8772 chs@openerp.com-20130910122113-171osvcukxffxcry
bzr revid: chs@openerp.com-20130910124803-wxkb8gkz1tub5qjf
2013-09-10 14:48:03 +02:00
Bharat R. Devnani (OpenERP) 9adf175561 [IMP] refered sale_line_id of procurement_order from stock_move object
bzr revid: bde@tinyerp.com-20130904061451-ouptbee94gb2dsht
2013-09-04 11:44:51 +05:30
Paramjit Singh Sahota 3f37dabea0 [MERGE] Merged lp:openobject-addons/7.0
bzr revid: psa@tinyerp.com-20130830132612-ekntqdkholcg15sx
2013-08-30 18:56:12 +05:30
Denis Ledoux 9979078aa8 [FIX]mrp: _bom_explode, rounding used must be max(bom.product_rounding, bom.product_uom.rounding), in order to avoid asking 0.5 Unit
bzr revid: dle@openerp.com-20130830125155-1vedifnupu2xvth7
2013-08-30 14:51:55 +02:00
Paramjit Singh Sahota 22669ee07c [MERGE] Merged lp:openobject-addons/7.0
bzr revid: psa@tinyerp.com-20130624131850-bz1speq0m5qvklx5
bzr revid: psa@tinyerp.com-20130813111300-mx6ditfva9dn01nj
2013-08-13 16:43:00 +05:30
Olivier Dony 957fa4e2da [MERGE] mrp: confirmation of procurements when production order is confirmed was broken + fix and re-enable tests
During the workflow signalling refactoring the signal for
confirming the procurements was sent to the wrong model,
thus having no effect at all.
In addition the MRP tests were incorrectly disabled and
did not cover this case properly. They were re-enabled
and corrected to cover it.

bzr revid: odo@openerp.com-20130801132150-gfp1saryq48249pu
2013-08-01 15:21:50 +02:00
Olivier Dony 2c87609288 [FIX] mrp: confirmation of procurements when production order is confirmed was broken + fix and re-enable tests
During the workflow signalling refactoring the signal for
confirming the procurements was sent to the wrong model,
thus having no effect at all.
In addition the MRP tests were incorrectly disabled and
did not cover this case properly. They were re-enabled
and corrected to cover it.

bzr revid: odo@openerp.com-20130801125820-ubpq9wsew6q5w2hf
2013-08-01 14:58:20 +02:00
Denis Ledoux a99b5786d1 [MERGE] Forward-port of 7.0 bugfixes up to rev. 9337 (dle@openerp.com-20130731153129-8hmqrgsg3e9d533f)
bzr revid: mat@openerp.com-20130726073123-6buqe3rg321gj5rw
bzr revid: odo@openerp.com-20130730110536-a74ea14pwb2y03ay
bzr revid: dle@openerp.com-20130801123703-frjhpeqwocsjo7ge
2013-08-01 14:37:03 +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 457aceff18 [IMP] mrp: properly remove product lines and workorder lines when confirming a manufacturing order, avoid getting traceback if trying action on deleted record
bzr revid: mat@openerp.com-20130725150909-ujh5xk2q2escr6a7
2013-07-25 17:09:09 +02:00
Laetitia Gangloff (Acsone) a83c3a9591 mrp : product quantity is modified with the factor
lp bug: https://launchpad.net/bugs/1200676 fixed

bzr revid: laetitia.gangloff@acsone.eu-20130712152235-lbfi12a0z29tw22a
2013-07-12 17:22:35 +02:00
Paramjit Singh Sahota 4708fce25c Little improvement.
bzr revid: psa@tinyerp.com-20130527114236-f1ryogo75y9cnxn7
2013-05-27 17:12:36 +05:30
Paramjit Singh Sahota f630a3a64a [IMP] Added context whereever necessary, improved code of action_done and removed unwanted spaces.
bzr revid: psa@tinyerp.com-20130527110901-q6717focg99qq46a
2013-05-27 16:39:01 +05:30
Jagdish Panchal 21d80930b0 [IMP] remove unwanted change
bzr revid: jap@tinyerp.com-20130517064041-bf7jq2p04zgp480n
2013-05-17 12:10:41 +05:30
Jagdish Panchal 8f1393f3ca [IMP] Improve code when bom componant is service stock move in available state
bzr revid: jap@tinyerp.com-20130515125745-da9sybl7osixzhfm
2013-05-15 18:27:45 +05:30
Martin Trigaux c697009dea [IMP]mrp: avoid adding account rights to users and create lines with superuser_id
bzr revid: mat@openerp.com-20130514132629-91qrc32j04a1t5he
2013-05-14 15:26:29 +02:00
Jagdish Panchal 555636280e [IMP] improve code in for mrp stock.py
bzr revid: jap@tinyerp.com-20130503105029-d9eqs4curvxwuvra
2013-05-03 16:20:29 +05:30
Jagdish Panchal 8e8d370ba9 [IMP] improve code and remove unwated change
bzr revid: jap@tinyerp.com-20130503071754-vwok8xpjcjo63m9o
2013-05-03 12:47:54 +05:30
Jagdish Panchal 45e461bd64 [IMP] improve code for the button product
bzr revid: jap@tinyerp.com-20130503055934-8rrgvydvxkadwwxh
2013-05-03 11:29:34 +05:30
Jagdish Panchal cdb7c6603e [IMP] bit improve code for yml test
bzr revid: jap@tinyerp.com-20130503053948-3hdhmh5vljw43uuh
2013-05-03 11:09:48 +05:30
Jagdish Panchal 6644af8c88 [IMP] improve code
bzr revid: jap@tinyerp.com-20130503053337-9vmq3t903dwwcjkt
2013-05-03 11:03:37 +05:30
Jagdish Panchal 5126a05c4a [IMP] remove unwated change
bzr revid: jap@tinyerp.com-20130503051252-c8o424i116yqkd14
2013-05-03 10:42:52 +05:30
Jagdish Panchal df08c2cb70 [IMP] improve code
bzr revid: jap@tinyerp.com-20130502133027-rgu6etatmcaflaeg
2013-05-02 19:00:27 +05:30
Jagdish Panchal 07cb4cd083 [IMP] Remove unwated change
bzr revid: jap@tinyerp.com-20130502062818-ghys3kb5mp6rt5af
2013-05-02 11:58:18 +05:30
Jagdish Panchal 4eabc8f186 [IMP] Improve code for mrp work flow
bzr revid: jap@tinyerp.com-20130502062551-tk4jlx4l61rhhhce
2013-05-02 11:55:51 +05:30
Jagdish Panchal 0d9dfd54e7 [IMP] Improve code in mrp.py for service type product
bzr revid: jap@tinyerp.com-20130501133229-1kt9kp9aunm5np9l
2013-05-01 19:02:29 +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
Rifakat 0b7f30af8b [FIX] mrp: allow only those bills which are active and not expired(belongs to specific period) in manufacturing
lp bug: https://launchpad.net/bugs/1049415 fixed

bzr revid: rha@tinyerp.com-20130415093513-wq98pv62sywys134
2013-04-15 15:05:13 +05:30