Commit Graph

82 Commits

Author SHA1 Message Date
Christophe Simonis 066e41b63d [MERGE] forward port of branch saas-3 up to 31f2a1b 2015-06-30 13:33:35 +02:00
Christophe Simonis 31f2a1bc38 [MERGE] forward port of branch 7.0 up to 1c0bc7c 2015-06-30 12:47:27 +02:00
Xavier Morel f5b88f6309 [IMP] minor perf improvement during tests
During tests, some creation of user records would unnecessarily trigger
password reset or set a password, both of which would trigger password
hashing which takes some time (for good reasons).

Fix by:
* passing no_reset_password in YAML tests and some Python tests still
  missing it (a number of Python tests already used it)
* removing passwords from YAML records as they're never necessary, the
  test user records are not expected to ever log in
2015-06-26 14:22:29 +02:00
Joao Alfredo Gama Batista c3ca61da9e [IMP] sale_stock: add reference to product
Avoids incompatibility with modules that make reference a serial field.
2015-06-24 19:43:01 +02:00
Guewen Baconnier 3a314780c0 [FIX] sale_*, delivery: more consistent ignore of cancelled SO lines
Sales Order lines have a cancelled state, but this state is not
always considered when looping over lines. This check is
done in some places already and this patch's aim is to do it in the
remaining places.

- Cancel the procurement of a sale line in sale.order.line
instead of sale.order, so a line canceled individually with
sale_order_line.button_cancel will properly cancel it
procurement.
- Sale report: uses the state of lines instead of Sales order,
so canceled lines of not-canceled orders are correctly represented
in the analysis.
- test: do not create invoices lines for canceled sale lines
- test: creation of moves with canceled lines
- test: check if lines are still canceled when sale order is done

Closes #6036
2015-04-24 17:29:51 +02:00
Raphael Collet 33eb3dffb2 [REM] models: remove the magic methods signal_XXX() 2014-07-07 11:50:30 +02:00
Raphael Collet cbe2dbb672 [MERGE] new v8 api by rco
A squashed merge is required as the conversion of the apiculture branch from
bzr to git was not correctly done. The git history contains irrelevant blobs
and commits. This branch brings a lot of changes and fixes, too many to list
exhaustively.

- New orm api, objects are now used instead of ids
- Environements to encapsulates cr uid context while maintaining backward compatibility
- Field compute attribute is a new object oriented way to define function fields
- Shared browse record cache
- New onchange protocol
- Optional copy flag on fields
- Documentation update
- Dead code cleanup
- Lots of fixes
2014-07-06 17:05:41 +02:00
Quentin (OpenERP) 5298db0f06 [FIX] sale_stock: location_id and location_dest_id are now required on stock.pack.operation
bzr revid: qdp-launchpad@openerp.com-20140312110653-5dfjcmt9ahgu5ich
2014-03-12 12:06:53 +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
openerp-sle 271f350268 [FIX] Sale Stock: remove print sale order test
bzr revid: openerp-sle@openerp-sle.home-20140212221254-whmb4uw3ztl6g34w
2014-02-12 23:12:54 +01:00
Cedric Snauwaert 9a664bb298 [FIX]test for sale_stock and sale_mrp
bzr revid: csn@openerp.com-20140211094444-j54nqmisqrs2ncnl
2014-02-11 10:44:44 +01:00
Quentin (OpenERP) c3f087f795 [FIX] sale_stock: fixed yaml test
bzr revid: qdp-launchpad@openerp.com-20140121080433-cx7zbrhzr7546msm
2014-01-21 09:04:33 +01:00
Quentin (OpenERP) fc93025818 [MERGE] merged trunk
bzr revid: qdp-launchpad@openerp.com-20140120144243-5kw535p28t1x7yeg
2014-01-20 15:42:43 +01:00
Christophe Simonis 91aaaec0a5 [MERGE] forward port of branch saas-2 up to revid 9092 dle@openerp.com-20140115165506-yuux9km39gbv7k4n
bzr revid: chs@openerp.com-20140115214454-dhl8xzr429co0j5d
2014-01-15 22:44:54 +01:00
Denis Ledoux 4305522776 [MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 9728 rev-id: dle@openerp.com-20140102161149-x268xj7bzvvsit2h
bzr revid: dle@openerp.com-20140102164522-og7f932e50kzz7z6
2014-01-02 17:45:22 +01:00
Jitendra Prajapati (OpenERP) 73046d5674 [FIX/IMP]runbot and No Rule matching this procurement. add access rights
bzr revid: prajapatijitendra7969@gmail.com-20131210061106-5uqo57njddem6tld
2013-12-10 11:41:06 +05:30
Quentin (OpenERP) 9c0381416d [FIX] stock: fixing the redbot: outdated references to 'do_partial' + security access rights for new object stock.move.operation.link
bzr revid: qdp-launchpad@openerp.com-20131118134701-is7gp517r3q5nex2
2013-11-18 14:47:01 +01:00
Quentin (OpenERP) 75a9f5323f [FIX] sale, sale_stock: fixing problems and workflow related to the shipping_except state
bzr revid: qdp-launchpad@openerp.com-20131015150035-ccdbua7e881adwx7
2013-10-15 17:00:35 +02:00
Quentin (OpenERP) 18968e29eb [FIX] sale_stock: fixed access rights error in yaml test
bzr revid: qdp-launchpad@openerp.com-20131011121228-ffz22emb9bbk1oui
2013-10-11 14:12:28 +02:00
Quentin (OpenERP) 65966940c8 [MERGE] merged with main trunk
bzr revid: qdp-launchpad@openerp.com-20131010133212-t058auv973pvvmjm
2013-10-10 15:32:12 +02:00
Martin Trigaux 11308f37dd [FIX] test: avoid getting error when trying to send an email to the newly created user (email replaced by login)
bzr revid: mat@openerp.com-20131003143234-8tu732aa4rmycoif
2013-10-03 16:32:34 +02:00
Turkesh Patel (Open ERP) 872b4de22c [FIX] issue when we add product which is service with another stockable in SO with invoice on delivery and when after delivery we create invoice service type produc is not there in invoice line
bzr revid: tpa@tinyerp.com-20131003115451-bdjaw60s6bat98ra
2013-10-03 17:24:51 +05:30
Cedric Snauwaert ca9abec55b [FIX]sale_stock: remove assert test on unit_price between move and sol which is not relevant
bzr revid: csn@openerp.com-20130911124126-1qejdj8r8w4yhs6i
2013-09-11 14:41:26 +02:00
Josse Colpaert d35dda29b4 [IMP] Add routes on category logic
bzr revid: jco@openerp.com-20130911082431-mlhe6hq54l29dktl
2013-09-11 10:24:31 +02:00
Quentin (OpenERP) 8a23802e9e [IMP] stock: removed location input and location output on warehouse
bzr revid: qdp-launchpad@openerp.com-20130903090334-iqtk4a762volg5s2
2013-09-03 11:03:34 +02:00
Josse Colpaert 1521569679 [MERGE] Prepaid order policy yml
bzr revid: jco@openerp.com-20130826163844-i4cjs7ptr86e575k
2013-08-26 18:38:44 +02:00
Bharat R. Devnani (OpenERP) a6cc542eef [IMP] run the scheduler after picking is done
bzr revid: bde@tinyerp.com-20130823094020-gacp65206rn8mxzv
2013-08-23 15:10:20 +05:30
Bharat R. Devnani (OpenERP) 47e3fd4f94 [IMP] procure_method is moved to stock.move object so referred move from procurement.order and removed reference of date_to_datetime method as it no longer exists on sale.order object
bzr revid: bde@tinyerp.com-20130821095542-d7n7pk28nqrs0efq
2013-08-21 15:25:42 +05:30
Bharat R. Devnani (OpenERP) 0d3437e753 [IMP] As the system creates one procurement per sale order line so checked the assert statements without for loop for procurements
bzr revid: bde@tinyerp.com-20130821054253-kbtjbyosjukc9con
2013-08-21 11:12:53 +05:30
Bharat R. Devnani (OpenERP) 64fee2e674 [IMP] value of invoice.comment should be blank if value is False
bzr revid: bde@tinyerp.com-20130821052528-wfo71cmpwcu1593r
2013-08-21 10:55:28 +05:30
Mansi Kariya (OpenERP Trainee) 264693820a [MERGE] merge with main branch
bzr revid: mansi.mk.179@gmail.com-20130821051607-t34od6nmfd5eiee1
2013-08-21 10:46:07 +05:30
Bharat R. Devnani (OpenERP) 02aef6ff11 [IMP] improved according to new wms
bzr revid: bde@tinyerp.com-20130819060609-blgi8tornvbfztg4
2013-08-19 11:36:09 +05:30
Mansi Kariya (OpenERP Trainee) 4af5d29679 [IMP] Added a product and sale order.
bzr revid: mansi.mk.179@gmail.com-20130814122554-dkjy8vjnmeibzqeu
2013-08-14 17:55:54 +05:30
Randhir Mayatra (OpenERP) 290d3b31cc [IMP] remove extra assert
bzr revid: rma@tinyerp.com-20130814121445-i29uhxxd43rdzw2g
2013-08-14 17:44:45 +05:30
Randhir Mayatra (OpenERP) b8220056f7 [IMP] remove procure_method in yml that not in procurement anymore
bzr revid: rma@tinyerp.com-20130814104426-o8w3mu3dxtgd17d9
2013-08-14 16:14:26 +05:30
Fabien Pinckaers 177d1c6920 [IMP] First test pass for sale_stock
bzr revid: fp@openerp.com-20130804182522-n2cjlt27cq0wazqt
2013-08-04 20:25:22 +02:00
Fabien Pinckaers 40e681ac9a [FIX] YAML bug
bzr revid: fp@openerp.com-20130804181636-x2gthf5xmgbfqjxy
2013-08-04 20:16:36 +02:00
Fabien Pinckaers 83053a16e3 [FIX] some tests in sale_Stock
bzr revid: fp@openerp.com-20130804175722-71ov6xopn7nu0y5s
2013-08-04 19:57:22 +02:00
sgo@tinyerp.com 9349ba8484 [IMP]define context to yml function
bzr revid: sgo@tinyerp.com-20130701114625-vshpugzujnvgdf5x
2013-07-01 17:16:25 +05:30
Fabien Pinckaers 863ef7cf7a [IMP] WIP: big cleaning
bzr revid: fp@tinyerp.com-20130629221703-ti4qqcc8e3pc0ddh
2013-06-30 00:17:03 +02:00
sgo@tinyerp.com 2e272a7687 [MERGE]sync with trunk
bzr revid: sgo@tinyerp.com-20130626111029-e6szwugpewn3cd2g
2013-06-26 16:40:29 +05:30
sgo@tinyerp.com 2ed45d19d3 [MERGE]sync with trunk
bzr revid: sgo@tinyerp.com-20130610052724-uwb42zjkmq815ja1
2013-06-10 10:57:24 +05:30
sgo@tinyerp.com 2bda4f7b3c [MERGE]sync with trunk
bzr revid: sgo@tinyerp.com-20130607113500-jzhet9cr98c0ss4s
2013-06-07 17:05:00 +05:30
Olivier Dony 0f983a0146 [MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 9183
rev-id launchpad_translations_on_behalf_of_openerp-20130531070107-7d2k818beg8965ll

bzr revid: odo@openerp.com-20130603121852-jdl6vlo9dmjk0rlc
2013-06-03 14:18:52 +02:00
Martin Trigaux 7f643d5540 [IMP] various changes
sale_stock: fix test to match new order
project: remove create button on view
procurement: allow grouping by reason
mrp: use property_ids for order line
account: allow grouping by template

bzr revid: mat@openerp.com-20130528131559-1u7t50sicpc3c6xe
2013-05-28 15:15:59 +02:00
Martin Trigaux 2229e4d1d0 [FIX] correct test to match new ordering
bzr revid: mat@openerp.com-20130528130521-m09g4mhv3iyuefa2
2013-05-28 15:05:21 +02:00
sgo@tinyerp.com fbfd8a4b42 [IMP]improve string and add groups in groups_id in sale and sale stock
bzr revid: sgo@tinyerp.com-20130507084316-v1tiw294n8imfj1v
2013-05-07 14:13:16 +05:30
sgo@tinyerp.com 3d0b5aa747 [MERGE]sync with trunk
bzr revid: sgo@tinyerp.com-20130423053031-g501q3w9akfiro2d
2013-04-23 11:00:31 +05:30
sgo@tinyerp.com fdcbf42052 [MERGE]sync with trunk
bzr revid: sgo@tinyerp.com-20130423052419-igsnmrv6n0m3s1d9
2013-04-23 10:54:19 +05:30
Quentin (OpenERP) 33f27b362b [MERGE] forward port of addons v7 up to revision 9045
bzr revid: qdp-launchpad@openerp.com-20130422153449-c62emljfa4a49758
2013-04-22 17:34:49 +02:00