Cédric Krier
424c430fa5
Create invoice line for non-line only once
...
issue3292
review1043003
(transplanted from 399d66f4e5262cffe86254af3f43074f2e43418d)
2013-09-02 11:21:19 +02:00
Cédric Krier
4f93c9471f
Don't set delivery_date for negative quantity
...
review788002
2013-04-16 15:26:08 +02:00
Cédric Krier
564c86617b
Avoid showing max date as delivery date
...
max date should be None on stock move
review769002
2013-04-08 23:51:02 +02:00
Udo Spallek
b8aa852a5d
Add missing Active Record migration.
...
issue3087
review740002
2013-03-25 21:04:18 +00:00
Cédric Krier
a9deb9bd31
Use origin Reference on Invoice Line and Stock Move
...
issue2642
review717002
2013-03-23 15:39:11 +01:00
Cédric Krier
64c5bdb64e
Remove _inherits
...
review670002
2013-03-20 22:51:02 +01:00
Albert Cervera i Areny
bf33f2309d
Replace _constraints with validate in ModelStorage and improve user messages.
...
issue2616
review371002
2013-03-07 16:55:48 +01:00
Cédric Krier
c3076e0559
Purchase.process must be called with root
...
As process write on purchase, it must be called with root from stock models.
review667003
2013-03-06 17:24:45 +01:00
Cédric Krier
9144d1937a
Fix flake8
2013-02-24 15:45:26 +01:00
Albert Cervera i Areny
fd7fc10c85
Avoid double write in stock move creation.
...
review635005
issue2937
2013-01-16 02:01:46 +01:00
Albert Cervera i Areny
e1d7c309f0
Use a list of dictionaries in create().
...
issue2358
review266002
2013-01-06 22:18:13 +01:00
Cédric Krier
c9f8528c1b
Allow delivery_time to be None
...
review598007
2012-12-23 22:33:40 +01:00
Albert Cervera i Areny
222a6b4ad8
Update depends of incoming_moves field
...
issue2931
review615002
2012-12-16 23:47:42 +01:00
Cédric Krier
a836c3fdb9
Add sale, purchase or other kind on Tax Rule and Tax Group
...
review587003
2012-12-05 13:02:31 +01:00
Cédric Krier
e13a4bcdcd
Store default language in database
...
review592004
2012-11-23 18:01:01 +01:00
Cédric Krier
37400bd213
Fix comment of compute_supply_date
2012-11-22 23:17:54 +01:00
Cédric Krier
60e481131b
Change unit value earlier if needed in on_change_product
...
issue2761
2012-10-20 23:35:09 +02:00
Cédric Krier
d346db0ee5
Fix OpenCustomer to not call browse with int
...
issue2837
review573002
2012-10-20 23:26:36 +02:00
Cédric Krier
687a58be2a
Use gettattr with default value in _get_context_purchase_price
...
Some fields from purchase could not be defined.
2012-10-19 19:30:27 +02:00
Cédric Krier
ce9aa1fc44
Fix test on to_recreate in invoice exception handling
2012-10-11 17:54:17 +02:00
Cédric Krier
81a0dbc4b1
Fix naming collison from AR migration
2012-10-11 17:53:41 +02:00
Cédric Krier
26e2f86828
Fix typo in on_change_party, it should use the instance instead of id
...
issue2822
2012-10-10 16:46:01 +02:00
Cédric Krier
15d3ba7fb2
Managage negative amounts in purchase
...
review354001
2012-09-30 21:19:45 +02:00
Cédric Krier
eeced05eec
Active Record
2012-09-24 22:18:09 +02:00
Cédric Krier
41ece280fb
Merge all kind of buttons
...
review483002
2012-09-10 15:28:28 +02:00
Cédric Krier
6eac20694a
Add missing purchase_date on some on_change
2012-09-04 22:56:49 +02:00
Cédric Krier
8d1ecc28bc
Ensure clause concatination works with tuple vs list
2012-09-04 22:56:05 +02:00
Cédric Krier
0b7c9afc5e
unit_price and quantity could be None during on_change calls
...
issue2740
2012-08-07 12:53:48 +02:00
Cédric Krier
0a94ba79ac
Remove required on sequence
...
review348001
2012-05-14 15:36:47 +02:00
Cédric Krier
a37d14cd14
Allow to reset to draft a cancelled purchase
...
review340004
2012-05-12 16:45:47 +02:00
Cédric Krier
70eac46c04
Fix manual invoice method and states of cancel button
...
review340004
2012-05-12 16:45:14 +02:00
Cédric Krier
36a817ae6c
Manage invoice line creation the same way as stock move
...
As the invoice and shipment are both managed in the process method. So it sum
all the quantity invoiced (even the canceled) with the exception of the one
already recreated.
review350001
2012-05-05 09:23:50 +02:00
Cédric Krier
3030cb04a9
Add missing state return in transation on Exception wizards
2012-04-27 12:46:05 +02:00
Cédric Krier
b422b6a1ac
Fix invoicing non-line type
...
Non-line type can be put on invoice only when all lines are copied on invoice.
Otherwise it generates an odd design.
issue2555
review335001
2012-04-21 01:20:31 +02:00
Nicolas Évrard
5d3c47fa1d
Fix use of button_draft
2012-04-18 13:51:06 +02:00
Cédric Krier
c5578c2a72
Skip invoice line not type "line" when compute invoiced quantities
...
review322002
2012-04-13 13:17:58 +02:00
Cédric Krier
70144738a6
Fix pep8 and pyflakes
2012-04-03 20:07:31 +02:00
Cédric Krier
3157aad56c
Allow only deleting cancelled workflowed models
...
review317001
2012-04-03 12:17:16 +02:00
Cédric Krier
a8593f91bf
Replace wrong usage of False by None
...
issue2512
2012-03-27 10:43:54 +02:00
Cédric Krier
a5a8aecb20
default_from_location doesn't exist anymore
...
issue2255
review285002
2012-03-25 18:25:25 +02:00
Cédric Krier
4b20060196
Remove special uom search clause
...
review295002
2012-03-25 15:40:32 +02:00
Cédric Krier
7c123a9d75
Simplify workflow engine
...
review256001
2012-03-25 00:18:10 +01:00
Nicolas Évrard
e1ff366192
Integer, Numeric and Float allow None as value
...
NULL value is None and not False
issue2022
review237004
2012-03-23 18:38:52 +01:00
Robin Baumgartner
8831954f71
Change purchase line with amount
...
issue2465
review257001
2012-03-21 08:47:42 +01:00
Cédric Krier
6ffab824fe
New product types: Goods, Assets and Service
...
review260001
2012-03-16 12:41:54 +01:00
Sergi Almacellas Abellana
935103de7b
Added indexes on company fields
...
Put an index on every company field.
issue2184
review226001
2012-03-14 09:30:39 +01:00
Cédric Krier
bb0048bfce
Add cache on amount fields in readonly states
...
issue1382
review282002
2012-03-16 10:46:09 +01:00
Cédric Krier
e1cb286fb1
Don't make eager fields depend on lazy fields
...
review281001
2012-03-12 22:32:30 +01:00
Mathias Behrle
08c3ff29a5
Change select=1|2 to select=True
...
issue2305
review269003
2012-03-05 10:53:06 +01:00
Cédric Krier
0453a7645e
Use the most used currency by party
...
It takes the most used currency on the 10 last records as default value for
purchase and product_supplier
issue2386
review221003
2012-02-27 12:46:27 +01:00