Commit Graph

36 Commits

Author SHA1 Message Date
Antoine Huvelle 19668013ad [FIX] stock_landed_cost: domain on expense account
In the landed cost types form view
(landed costs types being nothing else than `product.product`),
we force users to choose an account of type `other`,
in order to prevent them from entering wrong data,
other types of accounts,
or receive an error message when setting a view account type.

This domain is actually the domain already applied in the
regular `product.template` and `product.product` form
view, thanks to `account.product_template_form_view`

Closes #4719
2015-10-12 17:15:28 +02:00
Olivier Dony 15d00bd957 [FIX] stock_landed_cost: allow reversing valuation via negative quantity + safer cancel/unlink
- Support negative costs by creating reverse valuation move,
  and undoing the quant computation.
  This may or may not produce the exact reverse effect on
  the quant, as it depends on the rounding of the unit
  cost, which uses decimal precision 'Account'
- Hide 'compute' button when cost is not draft
- Forbid cancel of posted cost
- Forbid deletion of cost if not draft
2015-04-09 13:04:24 +02:00
Josse Colpaert fc65efbb9b [FIX] Fix inheritance in point_of_sale views + ean visible on creation + landed costs views
[IMP] Set custom EAN not visible when multiple variants

[IMP] Change landed costs views + make ean visible upon creation
2014-10-06 09:14:20 +02:00
Josse Colpaert 4d3ae9ea54 [IMP] Check sum + out should take quantities from stock move 2014-09-17 17:57:32 +02:00
qdp-odoo dce11788fa [FIX] stock_landed_costs: fixed several issues related to the computation and the accounting entries creation. Added a yaml test to cover the different split methods 2014-08-08 10:58:14 +02:00
ged-odoo 74168c4e9d Merge pull request #272 from odoo-dev/master-inline-searchview-ged
[MERGP] Inline Searchview

This task split the searchview in two parts: SearchView and SearchViewDrawer. The drawer is displayed inside the main view and the searchview stays in place.  It also changes the scrolling behavior of the web client: the main view area can scroll without affecting the UI (so the various menus stays in place)

Because of this, other large changes have been made:

the drawer has been redesigned,
the Custom Filter widget has been split in two (Custom Report and SaveCurrentFilter),
the main view is now scrollable, so the UI stays in place and only the view can change
The text 'Group By...' has been changed into 'Group By' (most addons had to be modified)
bootstrap classes are used when it makes sense (for example, badge)
the left menu is also scrollable (separately from the main view)

It is likely that some stupid bugs have been introduced.  Please don't hurt me.
2014-06-12 16:27:11 +02:00
Fabien Meghazi faa09da325 Removed version="7.0" from form views 2014-06-12 09:09:59 +02:00
Géry Debongnie 514203743d Merge remote-tracking branch 'odoo/master' into master-inline-searchview-ged
Conflicts:
	addons/mrp/mrp_view.xml
2014-05-30 10:29:30 +02:00
Christophe Matthieu 43977deb71 [IMP] product: refactoring of product variant. The main view became the view of product template and the product product (or product variant) are created with the variant values combinaison. Bom is splitted into bom and bom line and can use the variant combinaison. 2014-05-27 09:42:52 +02:00
Géry Debongnie 555677f14d [IMP] replace all 'Group By...' by 'Group By'
in all searchview, the 'Group By...' looks weird, next to the Custom
Reports and Filters.  This change was requested by the upper management
2014-05-22 11:44:35 +02:00
Quentin (OpenERP) f36b470c1b [MERGE] stock_landed_costs: better usability
bzr revid: qdp-launchpad@openerp.com-20140425124634-9bxzm92hx0di5ogy
2014-04-25 14:46:34 +02:00
Mansi Kariya (OpenERP) 440ddae7f8 [ADD] Added sequence on Stock Landed Cost and added Landed Cost type Configuration view and improved product view
bzr revid: mka@tinyerp.com-20140425104945-1vfv217uy1xhbnmx
2014-04-25 16:19:45 +05:30
Quentin (OpenERP) 09bc7c923a [REF] stock_landed_costs: refactoring/improvements/fixes made during code review
bzr revid: qdp-launchpad@openerp.com-20140424133518-nqi1sxggetaum72r
2014-04-24 15:35:18 +02:00
DJ Patel c0d45ba62f [FIX] stock_landed_costs : Added a button to cancel the landed cost.
bzr revid: mdi@tinyerp.com-20140424133030-bxj3x4au976suj36
2014-04-24 19:00:30 +05:30
Quentin (OpenERP) 76a96723a2 [FIX] stock_landed_costs: qty and volume computation
bzr revid: qdp-launchpad@openerp.com-20140424131510-hx55angkbe6jh4um
2014-04-24 15:15:10 +02:00
Quentin (OpenERP) 5183909ade [REF] stock_landed_costs usability imp
bzr revid: qdp-launchpad@openerp.com-20140424130846-6348yoos4omernli
2014-04-24 15:08:46 +02:00
Quentin (OpenERP) 301b9a70eb [IMP] stock_landed_cost: functional review of the module.
bzr revid: qdp-launchpad@openerp.com-20140424103752-w12z1frkuujotnrb
2014-04-24 12:37:52 +02:00
DJ Patel a4eef5f17e [IMP] stock_landed_costs : Total field should be above the compute button.
bzr revid: mdi@tinyerp.com-20140424104022-h88ujot6kmklbo6e
2014-04-24 16:10:22 +05:30
DJ Patel d626d770bf [ADD] stock_landed_costs : Added the openchatter notification system.
bzr revid: mdi@tinyerp.com-20140424100337-fbcyr73fjbj5gecw
2014-04-24 15:33:37 +05:30
DJ Patel 3eae11e4ce [IMP] stock_landed_costs : Compute button should be inline with Valuation Adjustments label.
bzr revid: mdi@tinyerp.com-20140421113213-iicfdvh7scts0af6
2014-04-21 17:02:13 +05:30
DJ Patel 567103bb92 [IMP] stock_landed_costs : If we create a product from Cost Lines, Can constitute a landed cost should be True.
bzr revid: mdi@tinyerp.com-20140421093157-x2b1vhip6mjslfij
2014-04-21 15:01:57 +05:30
DJ Patel a741e8df8e [IMP] stock_landed_costs : Product with 'Can constitute a landed cost' is set to True can only be selected in cost lines.
bzr revid: mdi@tinyerp.com-20140421092427-r5jq6ppy40rarjiw
2014-04-21 14:54:27 +05:30
DJ Patel a5ba8f22a9 [IMP] stock_landed_costs : All the fields are readonly in 'open' state.
bzr revid: mdi@tinyerp.com-20140411131028-z5olzn8t9elmy3cm
2014-04-11 18:40:28 +05:30
DJ Patel 1ce2520ed3 [ADD] stock_landed_costs : Added the mechanism to generate accounting entries for landed costs.
bzr revid: mdi@tinyerp.com-20140411125430-dd35oblzmz0onasq
2014-04-11 18:24:30 +05:30
DJ Patel 442a73af4e [ADD] stock_landed_costs : Added the mechanism to create valuation line per cost line.
bzr revid: mdi@tinyerp.com-20140411093957-ucna8z1837urzez2
2014-04-11 15:09:57 +05:30
DJ Patel fb18693a4d [ADD] stock_landed_costs : Added the weight and volume in valuation adjustments.
bzr revid: mdi@tinyerp.com-20140411044608-hn5qm6o5nwahutzq
2014-04-11 10:16:08 +05:30
DJ Patel 63e8f9efc7 [IMP] stock_landed_costs : Improved the onchange on product.
bzr revid: mdi@tinyerp.com-20140410102825-xy44ot6b4fn9pia3
2014-04-10 15:58:25 +05:30
DJ Patel 66a62da61a [ADD] stock_landed_costs : Added the function to compute former cost per unit.
bzr revid: mdi@tinyerp.com-20140410054901-xhh85tdnom8t5x21
2014-04-10 11:19:01 +05:30
DJ Patel babb4debb3 [ADD] stock_landed_costs : Added the button to compute landed cost.
bzr revid: mdi@tinyerp.com-20140409131155-e023ykx0uwkqq9qf
2014-04-09 18:41:55 +05:30
DJ Patel 6cbe02bcbc [REM] stock_landed_costs : Removed the unused fields.
bzr revid: mdi@tinyerp.com-20140409124522-a7i511p0ywnr2wpo
2014-04-09 18:15:22 +05:30
DJ Patel 50aabe77cc [IMP] stock_landed_costs : Improved the view..
bzr revid: mdi@tinyerp.com-20140409095910-i4n4ngl2q347up66
2014-04-09 15:29:10 +05:30
DJ Patel ed605d0f45 [ADD] stock_landed_costs : Added the function to calculate final coston valuation adjustment lines.
bzr revid: mdi@tinyerp.com-20140409093918-mmgbiya5ai993xwv
2014-04-09 15:09:18 +05:30
DJ Patel f7a87d9f8a [ADD] stock_landed_costs : Added the onchange method on pickings to automatically fill the valuation adjustment lines.
bzr revid: mdi@tinyerp.com-20140409092551-np8ctmmx5wpfibaw
2014-04-09 14:55:51 +05:30
DJ Patel 69940dc9ea [ADD] stock_landed_costs : Added the new object for valuation adjustmensts.
bzr revid: mdi@tinyerp.com-20140409085258-aemcy9v57blbet2w
2014-04-09 14:22:58 +05:30
DJ Patel ea7fb6d0d2 [ADD] stock_landed_costs : Added the search view.
bzr revid: mdi@tinyerp.com-20140408120033-189parnuviod7z9x
2014-04-08 17:30:33 +05:30
DJ Patel d0dbdf8082 [ADD] stock_landed_costs : Added the stock_landed_costs module.
bzr revid: mdi@tinyerp.com-20140408113935-67fykki3056w8hr8
2014-04-08 17:09:35 +05:30