Commit Graph

36 Commits

Author SHA1 Message Date
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
Simon Lejeune 3ae8aada05 [FIX] sale_order_date: requested_date editable in `sent` state 2014-10-02 13:54:11 +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) 6b37db4336 [REF] sale_order_dates: changed requested_date and commitment_date into datetime fields
bzr revid: qdp-launchpad@openerp.com-20140508142859-8fdyey4gcerni16u
2014-05-08 16:28:59 +02:00
Quentin (OpenERP) dd47f684f0 [FIX] sale_order_dates yml fixed + calls to fields.date.date_to_datetime function fixed + improved in order to use it in purchase as well
bzr revid: qdp-launchpad@openerp.com-20140416154830-ec6kbs3bupd4j5vt
2014-04-16 17:48:30 +02:00
Quentin (OpenERP) d568c19f40 [FIX] sale_order_dates: cannot concatenate str and timedelta objects
bzr revid: qdp-launchpad@openerp.com-20140415090248-9gixo6c7fngbw9s6
2014-04-15 11:02:48 +02:00
Quentin (OpenERP) 613901196b [FIX] sale_order_dates: date_to_datetime fixed
bzr revid: qdp-launchpad@openerp.com-20140414161229-f4s43qt5c5t3gedl
2014-04-14 18:12:29 +02:00
Olivier Dony 1b66087ed8 [FIX] sale_order_dates: fixes + deduplication of _get_planned_date()/_order_line_move_date() methods on sale.order
bzr revid: odo@openerp.com-20140306225009-f0jk43x5qpovurxi
2014-03-06 23:50:09 +01:00
Olivier Dony 499e0e323d [MERGE] sale_order_dates: several improvements to usability and planned date computing, courtesy of Lionel Sausin (Numerigraphe)
bzr revid: odo@openerp.com-20140306202430-aw45sqw6og8ezcni
2014-03-06 21:24:30 +01:00
Lionel Sausin eafd60ebd4 [MERGE] Upgrade to v7.0. Make the dates visible to everyone - if you don't want to see them, just uninstall the module.
bzr revid: ls@numerigraphe.com-20130717103317-cf22a6614c4wzmv9
2013-07-17 12:33:17 +02:00
Vo Minh Thu e69326ee3b [REF] removed explicit model instanciations.
bzr revid: vmt@openerp.com-20130415102349-vgcrfok2k5y10cwz
2013-04-15 12:23:49 +02: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
Twinkle Christian (OpenERP) 107ef7a51b [FIX]fix tooltip
bzr revid: tch@tinyerp.com-20121031110326-r1mofl1t4ajsh4b9
2012-10-31 16:33:26 +05:30
Twinkle Christian (OpenERP) 3fa45da187 [IMP]Improve tooltip in Quatation
bzr revid: tch@tinyerp.com-20121023120415-b3eo9x5248hr6n7i
2012-10-23 17:34:15 +05:30
Numerigraphe - Lionel Sausin 2d2a44dcf2 [FIX] unmutable default in the remaining modules
[REF] coding style consistency

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

bzr revid: ls@numerigraphe.fr-20120305184003-er00xtj9vtcw7gna
2012-03-05 19:40:03 +01:00
Numerigraphe - Lionel Sausin 6b267821a5 [FIX] sale_order_dates: allow the context to be passed to _order_line_move_date().
bzr revid: ls@numerigraphe.fr-20120104165840-f97w6mbdwcku6zpd
2012-01-04 17:58:40 +01:00
Numerigraphe - Lionel Sausin f2235451f0 [IMP] sale_order_date: simplify the on_change method as suggested by O. Dony
bzr revid: ls@numerigraphe.fr-20120104160203-98b4yquttjhgirjl
2012-01-04 17:02:03 +01:00
Numerigraphe - Lionel Sausin 69a132dd7e [REF] sale_order_date: use timedelta only.
bzr revid: ls@numerigraphe.fr-20120104155811-2eofblu9zclr9brn
2012-01-04 16:58:11 +01:00
Numerigraphe - Lionel Sausin f49260dc5c [IMP] sale_order_dates: add a test file to prove the required date is taken into account when creating the delivery order; fixed onchange parameters in view; removed a debugging print statement
bzr revid: ls@numerigraphe.fr-20111214170913-1iwc8tsix19db2ky
2011-12-14 18:09:13 +01:00
Numerigraphe - Lionel Sausin 0b4bb899ce [IMP] sale_order_dates: requested date is readonly when order state is not draft.
bzr revid: ls@numerigraphe.fr-20111214154317-05xy0q2np7cqrpg0
2011-12-14 16:43:17 +01:00
Numerigraphe - Lionel Sausin 0e12b870f7 [IMP] sale_delivery_date: don't copy the requested date when coying sale order.
bzr revid: ls@numerigraphe.fr-20111214154106-lmsrlt8w211fsgc9
2011-12-14 16:41:06 +01:00
Numerigraphe - Lionel Sausin e83bd89ca7 [IMP] sale_order_date: use requested date as expected date for moves instead of order date for picking; fix the onchange for requested date becoming empty; improve help texts
bzr revid: ls@numerigraphe.fr-20111214153743-ggpljq1z85ggeboh
2011-12-14 16:37:43 +01:00
Numerigraphe - Lionel Sausin 1baca58809 [IMP] sale_order_dates: warn users when the requested date is before the commitment date
bzr revid: ls@numerigraphe.fr-20111213172859-06vmdnpzapu6kb0h
2011-12-13 18:28:59 +01:00
Numerigraphe - Lionel Sausin 95eb2c5a01 [IMP] sale_order_date: use requested date when creating pickings ; improved help texts
bzr revid: ls@numerigraphe.fr-20111213151709-37cm140n28lh7lee
2011-12-13 16:17:09 +01:00
Olivier Dony 06fb14130a [IMP] removed method=True params from all fields.function
Server revision 3495 odo@openerp.com-20110701232328-flgxulxva70vnyxr
removed the need for passing method=True to function fields,
so this is the equivalent addons fix, removing it everywhere.
Please be careful from now on, and do not pass it anymore!

bzr revid: odo@openerp.com-20110701234124-a61zl0idvdfz3hyb
2011-07-02 01:41:24 +02:00
Mustufa Rangwala b0f61a9546 [MERGE] merge from trunk addons
bzr revid: mra@mra-laptop-20101214130232-wqsim6966u1hilu9
bzr revid: mra@mra-laptop-20101217043732-ri8dfx38pacpruye
2010-12-17 10:07:32 +05:30
Mustufa Rangwala 7b390b3c81 [FIX] Sale_*: Misc improvements (tooltips,strings...etc)
lp bug: https://launchpad.net/bugs/687463 fixed

bzr revid: mra@mra-laptop-20101213060723-3yvidr2b3x9n4q6n
2010-12-13 11:37:23 +05:30
uco (OpenERP) 6dd290e824 [REF]: Replace the condition 'if not context' with 'if context is None'.
bzr revid: uco@tinyerp.com-20101123070505-9i2lrqhgxzaii3zn
2010-11-23 12:35:05 +05:30
uco (OpenERP) 8035df3e11 [IMP]: Added context=None in function argument for rest modules.
bzr revid: uco@tinyerp.com-20101122103753-idv9fdaqc28rvugu
2010-11-22 16:07:53 +05:30
Mustufa Rangwala f7eae25635 [FIX] sale_order_dates: remove return from for loop and cleaning
bzr revid: mra@mra-laptop-20101022131615-35i9ss38tud6bylp
2010-10-22 18:46:15 +05:30
pso 471572043d [IMP] sale modules: Cleaning modules
bzr revid: pso@tinyerp.com-20101022072346-ud8khvwiwhcjpcga
2010-10-22 12:53:46 +05:30
mtr 2368064757 [IMP] sale_order_dates:-added tooltip
bzr revid: mtr@mtr-20100928130722-3svmhb2dg4uwmtc2
2010-09-28 18:37:22 +05:30
Mustufa Rangwala 1abc2c5eee [REF]
bzr revid: mra@mra-laptop-20100809063542-1e7u3rywvbmd8nv2
2010-08-09 12:05:42 +05:30
Jay (Open ERP) 2486828746 [FIX] Sale_order_dates : Corrected datetime library reference
lp bug: https://launchpad.net/bugs/609042 fixed

bzr revid: jvo@tinyerp.com-20100726110659-nhsuszom66idt7q6
2010-07-26 16:36:59 +05:30
nel@tinyerp.com 02051df96e [
bzr revid: nel@tinyerp.com-20100706072605-8srddc5av8o96w3z
2010-07-06 09:26:05 +02:00
mtr f8ed9066ad [IMP] procurement,purchase,purchase_requisition,sale,sale_journal:Improvements made as per the testing
bzr revid: mtr@mtr-20100621135911-rudvobfa6o090s1o
2010-06-21 19:29:11 +05:30