Commit Graph
99 Commits
Author SHA1 Message Date
Fabien Pinckaers 0e4f3bb959 [IMP] stock: remove procurement orders to fufill immediately
This removes the procurement.order model. To fufill their needs SO, PO, MO and
stock moves now call the _run method of the relevant procurement.group.

This mecanism is now only used for stockable product, tasks now uses their own
independent mecanism.

The _run method will check all the applicable rules and create directly the
needed model to fufill the need.

The modules stock, purchase, mrp, extends the _run method to implement their
specific strategy relevant for the rule type they define.

If an exception happens the message will be logged as a mail messsage on the
source model, for example, if a sales order cannot be fufilled the salesperson
will now see directly the reason.

OLD commit messages:
[WIP] procurement: removing procurement.order in stock, sale, purchase, sale_stock. WIP
fixup! [WIP] procurement: removing procurement.order in stock, sale, purchase, sale_stock. WIP
[IMP] Basic tests
[FIX] test not necessary anymore
[FIX] remove unnecessary print statement
[FIX] unnecessary test + why passing warehouse worked before?
[IMP] purchase: one move by purchase order line
[FIX] purchase: correct inventory tests and pass move_dest_ids among procurements
[FIX] because of bad cherry-pick merge
[IMP] make mrp pass by adding move_dest_ids there too
[IMP] tests of sale_mrp, no need for cancelpropagation then
[IMP] better to consistently use recordsets also for one2many
[FIX] purchase_requisition
[FIX] Exceptions should trigger errors, which should be caught in the tests
[FIX] sale_mrp: remove usage of procurement.order and use sale order name instead of sol
[FIX] stock_dropshipping: add sale_line_id on purchase_line_id
[FIX] Remove pdb
[IMP] add stock_dropshipping files
[IMP] stock: search carrier through sale line instead of procurement group
[IMP] add procrule test and preision needed when updating sol
[FIX] sale_order_dates + [IMP] procurement exceptions by scheduler
[FIX] No need to return task
[IMP] move file as name changes and add corrections
[FIX] Continue Run Schedulers wizard fix
[FIX] name issues of takss
[FIX] updating sale order line, but there is still a problem with the recompute
2017-09-08 17:08:05 +02:00
Denis Vermylen (dve) ba3d3582bc [MIG] purchase: Migrate to new API 2016-08-05 14:04:37 +02:00
Nicolas Martinelli b65c67a259 [IMP] product: new product_id field on supplierinfo
We introduce a new field on supplierinfo: product_id. Thanks to this
field, the vendor information which will be used in a purchase order can
be specific to the product variant.
2015-09-25 11:34:01 +02:00
Nicolas Martinelli cb01be235e [IMP] purchase: adaptation due to the new Purchase module
Major changes:
- No generation of invoice from PO
- Remove workflow

Reason: complete rewrite of the Purchase module.

Responsible: fp, nim
2015-09-02 08:19:56 +02:00
qdp-odoo e4dc50bf58 [IMP] pricelists improvements. Was PR #8228 2015-08-31 16:57:32 +02:00
Fabien Pinckaers 5a3d0947f2 [IMP] Supplier --> Vendor 2015-07-16 14:55:20 -07:00
qdp-odoo c04065abd8 [IMP] accounting v9. Yeeeeaah 2015-05-05 17:28:04 +02:00
Christophe Simonis a329aa1949 [MERGE] forward port of branch 8.0 up to e27744d 2015-03-18 14:05:02 +01:00
Christophe Simonis 21c1686f06 [FIX] purchase: since 2aeb1e5, minimum_planned_date is a datetime field. Adapt test 2015-01-22 19:24:30 +01:00
Christophe Simonis 6f841038f3 [MERGE] forward port of branch 8.0 up to 3735394 2015-01-22 18:47:13 +01:00
Martin Trigaux 8598231763 [FIX] purchase: maximum recursion when write on minimum_planned_date
Do not write on the function field when you are writing on the function field.

- Now you do know what orders is right?
- I think I know...
- Orders is orders.
- I guess no one ever taught you not to use the word you're defining in the definition.
   ~~Lucky Number Slevin
2015-01-22 14:37:53 +01:00
Josse Colpaert 30bd0ead24 [IMP] Optimize orderpoint stock get + traversal of procurement subtraction + change edi format test date_planned to datetime
[IMP] Make sure dropship route can be chosen (takes prio)
2014-12-19 11:07:49 +01:00
Josse Colpaert 2f5ca4380a Revert "[IMP] Remove unnecessary refresh statements because of new api"
This reverts commit b213438176.
2014-11-17 09:44:10 +01:00
Josse Colpaert b213438176 [IMP] Remove unnecessary refresh statements because of new api 2014-11-17 09:24:06 +01:00
Christophe Simonis 31bf30d2d0 [MERGE] forward port of branch 8.0 up to ed1c173 2014-09-05 15:28:22 +02:00
Raphael Collet 2154cc9344 [FIX] purchase: fix test merge_order (check on date_order was not correct) 2014-08-04 15:50:14 +02:00
mdi-odoo bb5fd86f73 [IMP] tests cases: use float_compare instead of == 2014-07-22 10:38:37 +02:00
qdp-odoo e9abc723c0 Changed the type of fields.date_order on purhcase.order object from date to datetime 2014-07-08 16:04:09 +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) d096e9f1b8 [FIX] purchase: unlink of a PO line now correctly canl the linked procurement. Yaml test fixed as well (there is no stock.move created anymore untill the PO is confirmed). These errors were introduced with the last merge with trunk
bzr revid: qdp-launchpad@openerp.com-20140204090901-xakhcchof90fh73h
2014-02-04 10:09:01 +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 4f3a4dce3b [FIX] purchase: on unlink purchase order line, cancel procurements associated to the move of the purchase order line
bzr revid: dle@openerp.com-20140120170729-57fm8tluz5p4zdk5
2014-01-20 18:07:29 +01:00
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) 65966940c8 [MERGE] merged with main trunk
bzr revid: qdp-launchpad@openerp.com-20131010133212-t058auv973pvvmjm
2013-10-10 15:32:12 +02:00
Quentin (OpenERP) 761253727c [FIX] purchase: fixed error in merge_order yaml test
bzr revid: qdp-launchpad@openerp.com-20131008144451-i1uelrktgwni7gtf
2013-10-08 16:44:51 +02:00
Josse Colpaert adc4101a74 [IMP] Purchase line id in run_scheduler and dropship tests
bzr revid: jco@openerp.com-20130913113239-anewvvrqd6ofbiwh
2013-09-13 13:32:39 +02:00
Josse Colpaert 30f27b8cbb [IMP] Move route_ids from product from stock_location to stock and remove supply_method (change with route)
bzr revid: jco@openerp.com-20130909115515-7z6ixaxe7bpxxe73
2013-09-09 13:55:15 +02:00
Quentin (OpenERP) 56f184a354 [FIX] purchase: run_scheduler.yml
bzr revid: qdp-launchpad@openerp.com-20130904154353-jntmykfnem9fre4b
2013-09-04 17:43:53 +02:00
Josse Colpaert 9d5801f4cd [IMP] Do not rereserve, such that quants are not unnecessarily split, remove assert warehouse po
bzr revid: jco@openerp.com-20130904130717-hmwruiy0imxdqpo7
2013-09-04 15:07:17 +02:00
Randhir Mayatra (OpenERP) 5e65f7d667 [IMP] improve reun_scheduler_yml
bzr revid: rma@tinyerp.com-20130830121807-r0k46ftwaxg1ccg4
2013-08-30 17:48:07 +05:30
Josse Colpaert 6c231c7244 [MERGE] Merge yml purchase gen invoice
bzr revid: jco@openerp.com-20130826164601-whs23j29wupk4vsw
2013-08-26 18:46:01 +02:00
Randhir Mayatra (OpenERP) 457d7f278e [IMP] change action_invoice_create method
bzr revid: rma@tinyerp.com-20130826061503-4r9lv7ywbhfffikj
2013-08-26 11:45:03 +05:30
Jitendra Prajapati (OpenERP) b1139e0aff [IMP]improve rfq2order2done yml
bzr revid: prajapatijitendra7969@gmail.com-20130822064618-l03lwozp4d6fth5p
2013-08-22 12:16:18 +05:30
Jitendra Prajapati (OpenERP) 592475349a [IMP]improve rfq2order2done yml
bzr revid: prajapatijitendra7969@gmail.com-20130816070309-k1rj401ltvxbkv93
2013-08-16 12:33:09 +05:30
sgo@tinyerp.com b98082337b [IMP]Improve yml and make work with purchase user
bzr revid: sgo@tinyerp.com-20130312083955-la478tbdpfqtv1wr
2013-03-12 14:09:55 +05:30
sgo@tinyerp.com 8cc9ecf9a9 [MERGE]sync with trunk
bzr revid: sgo@tinyerp.com-20130301072146-bw6y8zgdk3t2a3k1
bzr revid: sgo@tinyerp.com-20130305082730-i6xntxlnpv0h097s
bzr revid: sgo@tinyerp.com-20130306054007-oz2lrmzsy6mjyfta
2013-03-06 11:10:07 +05:30
Foram Katharotiya (OpenERP) 96ec54e330 [IMP] add yml file in purchase
bzr revid: fka@tinyerp.com-20130220131524-joc0qyy5dfdc1o6j
2013-02-20 18:45:24 +05:30
Bhumi Thakkar (Open ERP) 83879211f3 [IMP] Improve code in yml.
bzr revid: bth@tinyerp.com-20130218080109-i1exaw3dq571473r
2013-02-18 13:31:09 +05:30
Bhumi Thakkar (Open ERP) 849807566d [IMP] Improve code in yml.
bzr revid: bth@tinyerp.com-20130218075653-nikwao3pc037st2p
2013-02-18 13:26:53 +05:30
Bhumi Thakkar (Open ERP) eba87345a7 [IMP] Improve code in yml.
bzr revid: bth@tinyerp.com-20130218064400-vuwzzf2cbrov4bik
2013-02-18 12:14:00 +05:30
Bhumi Thakkar (Open ERP) 51005a923e [IMP]In yml update context.
bzr revid: bth@tinyerp.com-20130218061801-nbihwaxv8yi8d7b6
2013-02-18 11:48:01 +05:30
Ajay Chauhan (OpenERP) de90c600cd [FIX] purchase: removed unused imports from yml.
bzr revid: cha@tinyerp.com-20130131095541-2p4hocnztgrkvp98
2013-01-31 15:25:41 +05:30
Vo Minh Thu 494b2481e2 [IMP] purchase: use the new signal_xxx methods instead of trg_validate.
bzr revid: vmt@openerp.com-20130128091716-ni5zb1qp4sib58rm
2013-01-28 10:17:16 +01:00
Olivier Dony e0fcab1f62 [FIX] edi,sale,purchase: fix EDI import of SO/PO, now compatible again with 6.1, and correct wrt. partners import (vs old addresses)
bzr revid: odo@openerp.com-20121018152129-s22uozt77s37urp1
2012-10-18 17:21:29 +02:00
Olivier Dony 5f24594223 [IMP] edi: work-in-progress: remove permanent storage of edi.document
The EDI documents will now be generated on demand
and available from the Portal view of each document.
Instead of getting a link to a statically generated
EDI document, customers will receive a link to
the portal access to the document. They will be able
to signup on the portal the first time as well,
provided they are using the secure token that was
sent to them (i.e. the right link).

The link to pay online will be available in the
portal as well.

Still much to do, this is a small first step,
with edi.document renamed to edi.edi for
consistency, as it will not persist any
edi.document anymore.

bzr revid: odo@openerp.com-20121011152008-bht7ub6woaex0a7u
2012-10-11 17:20:08 +02:00
Rucha (Open ERP) 7a24bdb1f7 [FIX]: Improved old product names with new
bzr revid: rpa@tinyerp.com-20120816084224-t12wf5vipd8u90a7
2012-08-16 14:12:24 +05:30
Rucha (Open ERP) 8335486c13 [FIX]: purchase: Fixed yml of purchase module based on new changes of demo
bzr revid: rpa@tinyerp.com-20120713064150-i4lw9g5d6c2ldctc
2012-07-13 12:11:50 +05:30
Rucha (Open ERP) 3612035b2e [IMP]: purchase: Improved xml_id reference of purchase orders
bzr revid: rpa@tinyerp.com-20120711170758-52xt4mgjltod650b
2012-07-11 22:37:58 +05:30
Rucha (Open ERP) 40f83805c5 [IMP]: product: Improved reference of demo product xml_id from static names to number (work in progress)
bzr revid: rpa@tinyerp.com-20120629110424-xykxjjq7sn50ovww
2012-06-29 16:34:24 +05:30