为报表和客户门户隐藏销售订单和发票部分的详细信息
odoo12-addon-sale-layout-category-hide-detail的Python项目详细描述
此模块允许您选中/取消选中新的“显示详细信息”和 在sale order节行和 如果要显示或隐藏客户发票部分行 pdf报告和网站中的行或其小计。
目录
Usage
要使用此模块,您需要:
- 转到sales->;orders->;报价并创建一个新的quotation。
- 在order lines选项卡中添加一个剖面线。
- 添加一些产品线。
- 添加另一条剖面线,但这次,单击plus圆 图标在您的右侧。图标将被替换为 减号圆圈图标。这意味着show subtotal字段是 设置为false。
- 添加一些产品线。
- 添加另一个剖面线并单击您的eye图标 正确的。这个图标将被eye slash图标替换。 这意味着show details字段设置为false。
- 添加一些产品线。
- 打印此报价的quotation/order报表。
在遵循上述步骤之后,在报告中您将看到 以下内容:
- The first ‘line section’ and its product order lines will be shown in a normal way.
- The second ‘line section’ and its product order lines will be shown in a normal way, but the subtotal won’t be shown. That is because in this section line Show subtotal field was set to False.
- The third ‘line section’ will show the name on the left and the subtotal on the right. Besides, its product order lines won’t be shown. That is because in this line Show details field was set to False.
前面描述的行为与报价单和发票相同。
Known issues / Roadmap
- boolean fau图标小部件尚未提取到oca/web中的模块中 因为到目前为止,这个小部件还不需要其他任何东西,但是 很好,将来会这样做的。
Credits
Contributors
- Tecnativa:
- 埃内斯托·特耶达
- 佩德罗·M·贝扎
Maintainers
此模块由OCA维护。
oca,或odoo社区协会,是一个非营利性组织 任务是支持odoo特性和 促进其广泛应用。
此模块是github上OCA/sale-reporting项目的一部分。
欢迎您的贡献。要了解如何访问https://odoo-community.org/page/Contribute。