Commit Graph
38 Commits
Author SHA1 Message Date
Cédric Krier 5c834f2e1d Improve ModelStorage.copy
* Allow callable in copy default
* Support dotted notation in copy default
* Use setdefault in copy
* Copy default when needed
* Do not set default state in copy
* Use callable and dotted notation in copy default

issue5576
issue7648
review72291002
2018-09-01 01:02:03 +02:00
Cédric Krier 7c9fd86d23 Remove migration before 3.0
issue6470
review52421002
2018-08-09 20:43:51 +02:00
Cédric Krier d310a2228d Use task queue to process purchase
issue7463
review45581002
2018-07-27 09:28:30 +02:00
Cédric Krier c6f8e06a4c Remove support for Python 2.7
issue7497
review53261002
2018-06-26 19:11:51 +02:00
Cédric Krier 5908a82e6c Fix searcher methods for dot notation
issue6757
review40651002
2017-09-27 18:37:31 +02:00
Sergi Almacellas Abellana 3bbfed485a Remove not needed PurchaseInvoiceLine model
issue6047
review34461002
2016-12-21 09:16:52 +01:00
Cédric Krier ecfed9bad4 Merge invoice and credit note
issue5225
review18921002
2016-03-20 22:59:23 +01:00
Jonathan Levy 675cfe2a8f Add Python3 support
issue3211
review19061003
2016-03-09 20:59:04 +01:00
Nicolas Évrard 4edea2795b Follow PEP-0249 for Transaction and backends
issue4949
review19781002
2016-03-03 21:55:23 +01:00
Cédric Krier a12e90ebfb Fix most flake8 errors
review8771002
2014-12-02 12:55:49 +01:00
Cédric Krier 4e697fa4aa Use context to check model and field access
issue4081
review8481002
2014-09-17 21:45:47 +02:00
Cédric Krier c071e51ef2 Remove explicit link between purchase and invoice
issue3623
review4261002
2014-03-17 23:23:46 +01:00
Cédric Krier e2eac04632 Fix get_invoice_state
When there are invoice lines, the state should be waiting.

issue3723
review3961002
2014-03-04 23:12:33 +01:00
Cédric Krier 13736071c8 Rationalize relation actions
* Remove relation field actions:
    - delete_all
    - unlink_all
    - set
* Rename relation field action unlink into remove

issue3457
review2271002
2013-12-20 12:34:00 +01:00
Cédric Krier abbc6177e2 Migration to python-sql
review1001002
2013-09-06 22:34:37 +02:00
Cédric Krier 61fa0940ae Delete non line type before unlink invoice lines
issue3001
2013-03-24 23:25:45 +01:00
Cédric Krier b5ce9ba7e0 Fix flake8 2013-02-24 15:47:27 +01:00
Cédric Krier 175caf60b3 Fix typo to use id of party in write 2013-01-15 11:55:08 +01:00
Cédric Krier 3318a98611 Move ignore_invoice_exception into HandleInvoiceException
issue2778
review546004
2012-10-15 22:58:25 +02:00
Cédric Krier 2cb8dae914 Fix comparison in get_invoice_state 2012-10-11 17:55:42 +02:00
Cédric Krier 22eea23cc8 "add" operator takes a list of ids
issue2804
2012-10-01 10:45:15 +02:00
Cédric Krier 7b04f2b19b Support return on purchase
review362001
2012-09-30 21:20:54 +02:00
Cédric Krier 6144898fed Active Record 2012-09-24 22:18:10 +02:00
Cédric Krier 5b7d4b8591 Fix pep8 and pyflakes 2012-04-03 20:07:32 +02:00
Cédric Krier 00b6c3bf0d Replace wrong usage of False by None
issue2512
2012-03-27 10:43:56 +02:00
Cédric Krier 0ec9320b7c Simplify workflow engine
review256001
2012-03-25 00:18:11 +01:00
Mathias Behrle 78e1c6411f Change select=1|2 to select=True
issue2305
review269003
2012-03-05 10:53:06 +01:00
Nicolas Évrard 00dc94031f Use function name in workflow instead of python code 2011-08-11 16:34:34 +02:00
Cédric Krier d7ca51fa1c Remove support of Python2.5 and fix py3 warnings 2011-07-12 00:18:02 +02:00
Cédric Krier e62b73122c Change Pool into a Singleton 2011-07-03 13:19:10 +02:00
Korbinian Preisler 4c8146e135 Update for new Transaction 2010-08-16 19:29:08 +02:00
Bertrand Chenal f33da7f56e Migrate packing* objects and tables to shipment* 2009-09-17 11:07:04 +02:00
Bertrand Chenal fa211a8c7a Fix: use the custom context to call the workflow and delete the invoice 2009-04-18 00:43:33 +02:00
Cédric Krier 44bd7939d0 Add missing _description 2009-03-17 13:47:20 +01:00
Cédric Krier 4960b12a1a Use Model for Many2Many 2009-03-05 14:53:19 +01:00
Cédric Krier 92a617bf6f Remove OSV and WizardOSV 2009-02-28 17:03:00 +01:00
Cédric Krier 6ca2b6ff38 Remove LocalService 2009-02-11 14:55:35 +01:00
Cédric Krier 54dfaf36ba Initial commit of module purchase_invoice_line_standalone 2008-12-08 14:04:30 +01:00